| 299 | //---------------------------------------------------------------------------- |
| 300 | |
| 301 | void PathCamera::setPosition(F32 pos) |
| 302 | { |
| 303 | mPosition = mClampF(pos, (F32)mNodeBase, (F32)(mNodeBase + mNodeCount - 1)); |
| 304 | MatrixF mat; |
| 305 | interpolateMat(mPosition,&mat); |
| 306 | Parent::setTransform(mat); |
| 307 | setMaskBits(PositionMask); |
| 308 | } |
| 309 | |
| 310 | void PathCamera::setTarget(F32 pos) |
| 311 | { |
no test coverage detected