~ubuntu-branches/ubuntu/trusty/openscenegraph/trusty

« back to all changes in this revision

Viewing changes to OpenSceneGraph/include/osg/Matrixd

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2008-07-29 04:34:38 UTC
  • mfrom: (1.1.6 upstream) (2.1.3 lenny)
  • Revision ID: james.westby@ubuntu.com-20080729043438-no1h9h0dpsrlzp1y
* Non-maintainer upload.
* No longer try to detect (using /proc/cpuinfo when available) how many
  CPUs are available, fixing the FTBFS (due to -j0) on various platforms
  (Closes: #477353). The right way to do it is to support parallel=n in
  DEB_BUILD_OPTIONS (see Debian Policy §4.9.1), and adequate support has
  been implemented.
* Add patch to fix FTBFS due to the build system now refusing to handle
  whitespaces (Policy CMP0004 say the logs), thanks to Andreas Putzo who
  provided it (Closes: #482239):
   - debian/patches/fix-cmp0004-build-failure.dpatch
* Remove myself from Uploaders, as requested a while ago, done by Luk in
  his 2.2.0-2.1 NMU, which was never acknowledged.

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
                         value_type angle3, const Vec3d& axis3);
124
124
 
125
125
 
126
 
        /** decompose the matrix into translation, rotation, scale and scale orietation.*/        
 
126
        /** decompose the matrix into translation, rotation, scale and scale orientation.*/        
127
127
        void decompose( osg::Vec3f& translation,
128
128
                        osg::Quat& rotation, 
129
129
                        osg::Vec3f& scale, 
130
130
                        osg::Quat& so ) const;
131
131
 
132
 
        /** decompose the matrix into translation, rotation, scale and scale orietation.*/        
 
132
        /** decompose the matrix into translation, rotation, scale and scale orientation.*/        
133
133
        void decompose( osg::Vec3d& translation,
134
134
                        osg::Quat& rotation, 
135
135
                        osg::Vec3d& scale, 
143
143
                       double bottom, double top,
144
144
                       double zNear,  double zFar);
145
145
 
146
 
        /** Get the othogrraphic settings of the orthographic projection matrix.
 
146
        /** Get the orthographic settings of the orthographic projection matrix.
147
147
          * Note, if matrix is not an orthographic matrix then invalid values 
148
148
          * will be returned.
149
149
        */
311
311
#endif
312
312
 
313
313
        void setRotate(const Quat& q);
 
314
        /** Get the matrix rotation as a Quat. Note that this function
 
315
          * assumes a non-scaled matrix and will return incorrect results
 
316
          * for scaled matrixces. Consider decompose() instead.
 
317
          */
314
318
        Quat getRotate() const;
315
319
 
316
320
        void setTrans( value_type tx, value_type ty, value_type tz );