Just so long as you're aware of the implications between floats and doubles. For most graphics-related code the amount of precision difference between floats and doubles is insignificant, and doubles...
Type: Posts; User: helloworld922
Just so long as you're aware of the implications between floats and doubles. For most graphics-related code the amount of precision difference between floats and doubles is insignificant, and doubles...
Darn, beat to the punch.
Maybe this time I'll be first :D
You can have an add and an addAssign method to provide two different interfaces for your class. This is somewhat similar to the...
A few helpful pointers:
1. Unless you have a reason to specifically use floats, I would recommend you use doubles.
2. Depending on what kind of math you're doing I would recommend extending or...