Searched refs:camPos (Results 1 – 3 of 3) sorted by relevance
260 Vec camPos; in DrawTick() local277 camPos.x = cosf(r_phi) * sinf(r_theta); in DrawTick()278 camPos.y = sinf(r_phi); in DrawTick()279 camPos.z = cosf(r_phi) * cosf(r_theta); in DrawTick()290 VECScale(&camPos, &sc->cam.cfg.location, 2.0F); in DrawTick()336 VECScale(&camPos, &sc->cam.cfg.location, 16.0F); in DrawTick()
2431 void C_MTXLookAt ( Mtx m, const Point3d *camPos, const Vec *camUp, const Point3d *target ) in C_MTXLookAt() argument2438 ASSERTMSG( (camPos != 0), MTX_LOOKAT_2 ); in C_MTXLookAt()2445 vLook.x = camPos->x - target->x; in C_MTXLookAt()2446 vLook.y = camPos->y - target->y; in C_MTXLookAt()2447 vLook.z = camPos->z - target->z; in C_MTXLookAt()2465 m[0][3] = -( camPos->x * vRight.x + camPos->y * vRight.y + camPos->z * vRight.z ); in C_MTXLookAt()2470 m[1][3] = -( camPos->x * vUp.x + camPos->y * vUp.y + camPos->z * vUp.z ); in C_MTXLookAt()2475 m[2][3] = -( camPos->x * vLook.x + camPos->y * vLook.y + camPos->z * vLook.z ); in C_MTXLookAt()
362 const Point3d *camPos,