With the advent of Max3D, I see a great need for overloaded operators for all our 3D Math classes and such we'll no doubt be writing for our games and applications. Every game needs one, be it simple vector classes or a matrix class.
An example of how this could be implemented in Max would be,
But the key is you are allowed to do multiple operators based on the right side of the operation. So if a coder wishes to multiply a vector by a single float(A Valid request) the right operator could be invoked.
Please make this happen.
An example of how this could be implemented in Max would be,
Type TVector Field X#,Y#,Z# method [+](with:TVector) X:+with.x Y:+with.y Z:+with.z end Method method [*](with:TVector) z:*with.x 'etc End method End Type
But the key is you are allowed to do multiple operators based on the right side of the operation. So if a coder wishes to multiply a vector by a single float(A Valid request) the right operator could be invoked.
Please make this happen.