public SurfaceTool getWFace(SurfaceTool st, Vector3 offset) { //Upper Tri //N W D st.add_uv(new Vector2(0, 0)); st.add_vertex(new Vector3(1 + offset.x, -1 + offset.y, 1 + offset.z)); //N W U st.add_uv(new Vector2(0, 1)); st.add_vertex(new Vector3(1 + offset.x, 1 + offset.y, 1 + offset.z)); //S W U st.add_uv(new Vector2(1, 1)); st.add_vertex(new Vector3(-1 + offset.x, 1 + offset.y, 1 + offset.z)); //LOWER TRI //S W U st.add_uv(new Vector2(1, 1)); st.add_vertex(new Vector3(-1 + offset.x, 1 + offset.y, 1 + offset.z)); //S W D st.add_uv(new Vector2(1, 0)); st.add_vertex(new Vector3(-1 + offset.x, -1 + offset.y, 1 + offset.z)); //N W D st.add_uv(new Vector2(0, 0)); st.add_vertex(new Vector3(1 + offset.x, -1 + offset.y, 1 + offset.z)); st.index(); return(st); }