Robert Osfield
383a5222bd
Rewrote the Vec *= Vec and Vec /= Vec implementations using inline Vec componentMultiply(Vec,Vec) and Vec componentDivide(Vec,Vec) to avoid confusion about the what the operation does.
2009-11-24 13:28:07 +00:00
Robert Osfield
87452fe1b9
From Chris Hanson, " Adds support for Vec /= Vec and Vec *= Vec operators to Vec2/Vec3/Vec4 double and float
...
classes."
2009-11-23 10:01:44 +00:00
Robert Osfield
2a54ff3e4a
Introduced CMake build option for compiling double or float versions of osg::BoundingSphere and osg::BoundingBox.
...
Introduced code in BoundgingSphere, BoundingBox, ProxyNode and LOD to utilise the above settings.
Added Matrix::value_type, Plane::value_type, BoundingSphere::value_type and BoundingBox::value_type command line
options that report where the types of floats or doubles.
2008-04-03 18:36:50 +00:00
Robert Osfield
f4afa427a7
From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)."
2007-12-10 17:30:18 +00:00
Robert Osfield
f1c2694c17
Updated copyright years.
2006-07-18 15:21:48 +00:00
Robert Osfield
22d5390784
From Louis Hamilton, fix to LightPoint's under 64 bit build, changing longs to ints in
...
colour conversion code.
2005-12-06 10:16:21 +00:00
Robert Osfield
14980872a7
Standardised the Vec* class interfaces, and added num_components enum to aid
...
generic programming.
2005-09-04 11:17:00 +00:00
Robert Osfield
d58487c763
Changed red()/green()/blue()/alpha() to r()/g()/b()/a() for greater consistency
...
across Vec* classes and with OpenGL Shander Lanaguage.
2005-09-03 20:56:25 +00:00
Robert Osfield
678b22ce83
Updated Copyright notices to 1998-2005.
2005-04-14 21:41:28 +00:00
Robert Osfield
a2974de978
Moved the istream and ostream support from Vec* and Matrix* into a seperate io_utils file.
2005-04-08 09:01:23 +00:00
Robert Osfield
f417974f5b
Added iostream operators
2005-04-07 21:28:57 +00:00
Robert Osfield
7be056275b
Added red, green, blue and alpha values.
2005-02-01 09:00:32 +00:00
Robert Osfield
b25c08bca4
More spelling & top fixes.
2004-09-15 19:10:15 +00:00
Robert Osfield
7ef8b14bf0
VS.NET Warning fixes from Stephane
2004-07-09 15:41:50 +00:00
Robert Osfield
893eaaa3f4
Cleaned up float vs double types in Vec*d and Vec2f classes
2004-06-09 13:06:12 +00:00
Robert Osfield
1f4417ab2b
Fixed the Vec*d class so there have value_type set to double.
2004-06-04 16:32:00 +00:00
Robert Osfield
fee33001fd
Fixed warnigs on VS.
2004-05-20 13:54:53 +00:00
Robert Osfield
f02c75f5ea
Added Vec2d, Vec3d and Vec4d classes, and remapped Vec2, Vec3 and Vec4 to
...
Vec2f, Vec3f an Vec4f respectively, with typedef's to the from Vec* to Vec*f.
2004-05-20 10:15:48 +00:00