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()
2439 void C_MTXLookAt ( Mtx m, const Point3d *camPos, const Vec *camUp, const Point3d *target ) in C_MTXLookAt() argument2446 ASSERTMSG( (camPos != 0), MTX_LOOKAT_2 ); in C_MTXLookAt()2453 vLook.x = camPos->x - target->x; in C_MTXLookAt()2454 vLook.y = camPos->y - target->y; in C_MTXLookAt()2455 vLook.z = camPos->z - target->z; in C_MTXLookAt()2473 m[0][3] = -( camPos->x * vRight.x + camPos->y * vRight.y + camPos->z * vRight.z ); in C_MTXLookAt()2478 m[1][3] = -( camPos->x * vUp.x + camPos->y * vUp.y + camPos->z * vUp.z ); in C_MTXLookAt()2483 m[2][3] = -( camPos->x * vLook.x + camPos->y * vLook.y + camPos->z * vLook.z ); in C_MTXLookAt()
359 const Point3d *camPos,