Irrlicht3d.org
::
Blog
|
About Me
|
Twitter
Add comment for
Operator Overloading, please
Posted by:
Enter the missing letter in: "Internation?l"
Text:
[quote][b]Tazo[/b] wrote: I absolutely love this blog software eating your posts when it contains special characters. I meant to write: vector * scalar = vector vector * vector = dot product vector % vector = cross product Thats how it has been done in every language where operator overloading is possible, just as it is in mathematics, where a (dot) b is dot product and a x b is cross product. I agree that you can do some pretty bad stuff with operator overloading, where methods would be much more clear and readable. However, vectors and matrices are one of the few examples where that is NOT the case, as this is where there are exactly those defined mathematical operations.[/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