Added new Matrixf and Matrixd implementations.

Made Matrix be a typedef to either Matrixf or Matrixd.  Defaults to Matrixf.

Converted the osgGA::MatrixManipulators and osgProducer::Viewer/OsgCameraGroup
across to using exclusively Matrixd for internal computations and passing betwen
Manipulators, Producer and SceneView. Note, SceneView still uses Matrix internally
so will depend on what is set as the default in include/osg/Matrix.

Added the ability to osgProducer::setDone/getDone(), kept done() as the
method that the viewer main loop uses for detecting the exit condition.
This commit is contained in:
Robert Osfield
2003-09-05 22:35:34 +00:00
parent a2834d74d2
commit 792bba05b9
23 changed files with 203 additions and 129 deletions

View File

@@ -20,8 +20,13 @@
namespace osg {
typedef Matrixd Matrix;
typedef RefMatrixd RefMatrix;
// default to using floating Matrices - Matrixf
typedef Matrixf Matrix;
typedef RefMatrixf RefMatrix;
// // default to using double Matrices - Matrixd
// typedef Matrixd Matrix;
// typedef RefMatrixd RefMatrix;
} //namespace osg