Vector Data Type Please
ORBZ
Member Posts: 1,304
Vector as a native data type please
A combination of Direction and Magnitude
Along with all the normal vector operations, addition, subtraction, multiplication, dot product, etc.
This would be insanely useful considering the engine is a 2D physics engine. Vectors are a natural fit.
For example:
Instead of computing the individual components of LinearVelocityX and LinearVelocityY you'd just have LinearVelocity + 2
A combination of Direction and Magnitude
Along with all the normal vector operations, addition, subtraction, multiplication, dot product, etc.
This would be insanely useful considering the engine is a 2D physics engine. Vectors are a natural fit.
For example:
Instead of computing the individual components of LinearVelocityX and LinearVelocityY you'd just have LinearVelocity + 2
Comments
Yeah this would be GREAT!
~CTM