Vector Data Type Please

ORBZORBZ Member Posts: 1,304
edited November -1 in Working with GS (Mac)
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

Comments

Sign In or Register to comment.