Exemple #1
0
        private Vector3 ProjectVertIndexToPlane(int index, Plane plane)
        {
            Vector3 vert = _mesh.vertices[index];

            return(ProjectionMath.ProjectPointToPlane(VertexPosToWorldPos(vert), plane));
        }