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