Added setPlanesFromMatrix method
This commit is contained in:
@@ -66,6 +66,14 @@ Plane& TexGen::getPlane(Coord which)
|
||||
}
|
||||
}
|
||||
|
||||
void TexGen::setPlanesFromMatrix(const Matrixd& matrix)
|
||||
{
|
||||
_plane_s.set(matrix(0,0),matrix(1,0),matrix(2,0),matrix(3,0));
|
||||
_plane_t.set(matrix(0,1),matrix(1,1),matrix(2,1),matrix(3,1));
|
||||
_plane_r.set(matrix(0,2),matrix(1,2),matrix(2,2),matrix(3,2));
|
||||
_plane_q.set(matrix(0,3),matrix(1,3),matrix(2,3),matrix(3,3));
|
||||
}
|
||||
|
||||
void TexGen::apply(State&) const
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user