| 248 | } |
| 249 | |
| 250 | MatrixF RotationF::asMatrixF() const |
| 251 | { |
| 252 | MatrixF returnMat; |
| 253 | if (mRotationType == Euler) |
| 254 | { |
| 255 | returnMat.set(EulerF(x, y, z)); |
| 256 | } |
| 257 | else |
| 258 | { |
| 259 | AngAxisF aa; |
| 260 | aa.set(Point3F(x, y, z), w); |
| 261 | |
| 262 | aa.setMatrix(&returnMat); |
| 263 | } |
| 264 | |
| 265 | return returnMat; |
| 266 | } |
| 267 | |
| 268 | QuatF RotationF::asQuatF() const |
| 269 | { |
no test coverage detected