Xylor Baysklef
Scripting Addict
Join date: 4 May 2003
Posts: 109
|
03-14-2004 17:28
Currently we can do Vector * Rotation, which applies the rotation to the vector. Simple enough. But what about allowing Vector / Rotation, which applies the inverse rotation to the vector? It would basically be equivalent to: ... Initialize vector 'V' and rotation 'R' ...
// This is the equivalent of 'V = V / R': R.s = -R.s; V = V * R;
This saves making up temporary inverted rotations while doing many things, and is simple enough to read. Thanks =) Xylor
|
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
|
03-14-2004 19:12
I agree, wholeheartedly!
It would make sence too, * rotates a vector, / unrotates a vector.
==Chris
|