Added new setPlanesFromMatrix method
This commit is contained in:
parent
78f3a4a0cd
commit
03d2ecccde
@ -108,6 +108,12 @@ class SG_EXPORT TexGen : public StateAttribute
|
||||
Plane& getPlane(Coord which);
|
||||
|
||||
const Plane& getPlane(Coord which) const;
|
||||
|
||||
/** Set the tex gen planes from specified matrix.
|
||||
* Typical usage would be to pass in a projection
|
||||
* matrix to set up projective texturing.
|
||||
*/
|
||||
void setPlanesFromMatrix(const Matrixd& matrix);
|
||||
|
||||
protected :
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user