Irrlicht3d.org
::
Blog
|
About Me
|
Twitter
Add comment for
Operator Overloading, please
Posted by:
Enter the missing letter in: "Internatio?al"
Text:
[quote][b]BlindSide[/b] wrote: Tazo, that looks wrong. vector * vector should just multiply each component of the vectors in parallel and output a vector. Incase you want some evidence just look at HLSL, GLSL and the Irrlicht vector3df and vector2df classes (And a billion other vector implementations in C++). In all these cases dot and cross are just performed using ordinary functions. If someone really did perform a dot product for vector * vector, that would be a very good arguement against the use of operator overloading. ;)[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons