TrianglesInSpace.Motion.LinearMotion.LinearMotion C# (CSharp) Method

LinearMotion() public method

Time based constant velocity linear motion
public LinearMotion ( ulong startTime, Vector velocity, Vector initialPosition ) : TrianglesInSpace.Primitives
startTime ulong The begining time of this motion
velocity TrianglesInSpace.Primitives.Vector The velocity per second or 1000 time units
initialPosition TrianglesInSpace.Primitives.Vector The starting point of the line
return TrianglesInSpace.Primitives
        public LinearMotion(ulong startTime, Vector velocity, Vector initialPosition)
        {
            // the starting time for this set of motion
            m_StartTime = startTime;
            // the velocity per second or 1000 time units
            m_Velocity = velocity;
            m_InitialPosition = initialPosition;
        }