mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Docs: Fix SurfaceTool example caps typo
This commit is contained in:
parent
8f25cc2d13
commit
6719fea8dc
@ -17,7 +17,7 @@
|
||||
var st = new SurfaceTool();
|
||||
st.Begin(Mesh.PrimitiveType.Triangles);
|
||||
st.SetColor(new Color(1, 0, 0));
|
||||
st.SetUv(new Vector2(0, 0));
|
||||
st.SetUV(new Vector2(0, 0));
|
||||
st.AddVertex(new Vector3(0, 0, 0));
|
||||
[/csharp]
|
||||
[/codeblocks]
|
||||
|
Loading…
Reference in New Issue
Block a user