gladiusjs / gladius-core

Core library for Gladius
BSD 3-Clause "New" or "Revised" License
445 stars 48 forks source link

Transform should provide localPosition and worldPosition (same for rotation and scale) #228

Open modeswitch opened 12 years ago

modeswitch commented 12 years ago

We need this in order to do motion, since local* are scaled by parent transforms the scale of motion will be affected as well. We will also need TransformDirection, TransformPoint, and their inverses from the math library.