Esempio n. 1
0
        /// <summary>
        /// Creates an instance of a vertex given a position and the remaining properties.
        /// </summary>
        public SplineVertex(int unknownRotation, Vector3 position)
        {
            DistanceToNextVertex = 0;
            Position             = position;

            Pitch = 0;
            Roll  = 0;
        }
Esempio n. 2
0
        /// <summary>
        /// Creates an instance of a vertex from a mutually predefined position.
        /// </summary>
        public SplineVertex(Vector3 position)
        {
            Position             = position;
            DistanceToNextVertex = 0;

            Pitch = 0;
            Roll  = 0;
        }