/dports/astro/celestia-gtk/celestia-1.6.1/src/celengine/ |
H A D | observer.cpp | 402 p = origin + v0 * Quatd::slerp(q0, q1, t).toMatrix3(); in update() 498 Vec3d up = Vec3d(0, 1, 0) * getOrientation().toMatrix3(); in update() 601 offset = offset * orientationUniv.toMatrix3(); in computeGotoParameters() 613 upd = upd * orientationUniv.toMatrix3(); in computeGotoParameters() 677 upd = upd * orientationUniv.toMatrix3(); in computeGotoParametersGC() 721 Vec3d up = Vec3d(0, 1, 0) * getOrientation().toMatrix3(); in computeCenterParameters() 754 Vec3d w = Vec3d(0.0, 0.0, -1.0) * getOrientation().toMatrix3(); in computeCenterCOParameters() 764 jparams.to = centerPos + ((getPosition() - centerPos) * q.toMatrix3()); in computeCenterCOParameters() 934 v = v * qd2.toMatrix3(); in orbit() 1325 Vec3d viewDir = Vec3d(0, 0, -1) * orientationUniv.toMatrix3(); in gotoSurface() [all …]
|
H A D | frame.cpp | 55 Mat3d r = q.toMatrix3(); in rotate() 118 return Point3d(0.0, 0.0, 0.0) + (p - center) * conjugate(getOrientation(tjd)).toMatrix3(); in convertFromAstrocentric() 122 return p * conjugate(getOrientation(tjd)).toMatrix3(); in convertFromAstrocentric() 140 return center + p * getOrientation(tjd).toMatrix3(); in convertToAstrocentric() 144 return p * getOrientation(tjd).toMatrix3(); in convertToAstrocentric() 780 v = vec * frame->getOrientation(tjd).toMatrix3(); in direction()
|
H A D | skygrid.cpp | 442 Mat3d r = (cameraOrientation * xrot90 * ~m_orientation * ~xrot90).toMatrix3(); in render() 619 Mat3f m = conjugate(observer.getOrientationf()).toMatrix3(); in render() 620 p0 = p0 * orientationf.toMatrix3(); in render() 621 p1 = p1 * orientationf.toMatrix3(); in render() 696 Mat3f m = conjugate(observer.getOrientationf()).toMatrix3(); in render() 697 p0 = p0 * orientationf.toMatrix3(); in render() 698 p1 = p1 * orientationf.toMatrix3(); in render()
|
H A D | galaxy.cpp | 235 …section(Ray3d(Point3d() + (ray.origin - getPosition()), ray.direction) * conjugate(qd).toMatrix3(), in pick() 306 Mat3f viewMat = viewerOrientation.toMatrix3(); in renderGalaxyPointSprites() 317 Mat3f::scaling(form->scale)*getOrientation().toMatrix3()*Mat3f::scaling(size); in renderGalaxyPointSprites() 333 cosi = Vec3f(0,1,0) * getOrientation().toMatrix3() in renderGalaxyPointSprites() 341 cosi = Vec3f(1,0,0) * getOrientation().toMatrix3() in renderGalaxyPointSprites() 402 Vec3f eyePos_obj = -offset * (~getOrientation()).toMatrix3(); in renderGalaxyEllipsoid()
|
H A D | planetgrid.cpp | 78 (1.0 + labelOffset) * pos * bodyOrientation.toMatrix3(); in longLatLabel() 114 Vec3d viewRayOrigin = Vec3d(-pos.x, -pos.y, -pos.z) * (~q).toMatrix3(); in render() 118 Vec3f vn = Vec3f(0.0f, 0.0f, -1.0f) * renderer->getCameraOrientation().toMatrix3(); in render()
|
H A D | axisarrow.cpp | 473 phase->orbitFrame()->getOrientation(tdb).toMatrix3(); in getDirection() 526 phase->bodyFrame()->getOrientation(tdb).toMatrix3(); in getDirection() 529 body.getEclipticToFrame(tdb).toMatrix3(); in getDirection()
|
H A D | globular.cpp | 289 …section(Ray3d(Point3d() + (ray.origin - getPosition()), ray.direction) * conjugate(qd).toMatrix3(), in pick() 389 Mat3f viewMat = viewerOrientation.toMatrix3(); in renderGlobularPointSprites() 397 Mat3f::scaling(form->scale) * getOrientation().toMatrix3() * in renderGlobularPointSprites()
|
H A D | body.cpp | 476 position += Vec3d(p.x, p.y, p.z) * frame->getOrientation(tdb).toMatrix3(); in getPosition() 481 position += Vec3d(p.x, p.y, p.z) * frame->getOrientation(tdb).toMatrix3(); in getPosition() 512 v = v * orbitFrame->getOrientation(tdb).toMatrix3() + orbitFrame->getCenter().getVelocity(tdb); in getVelocity() 534 v = v * bodyFrame->getOrientation(tdb).toMatrix3(); in getAngularVelocity() 658 Vec3d bf = ecl * (~q).toMatrix3(); in eclipticToPlanetocentric()
|
H A D | precession.cpp | 358 Vec3d v0 = xaxis * p03lpRot.toMatrix3(); in main() 359 Vec3d v1 = xaxis * p03Rot.toMatrix3(); in main()
|
H A D | location.cpp | 200 return Point3d(position.x, position.y, position.z) * q.toMatrix3(); in getPlanetocentricPosition()
|
H A D | render.cpp | 4178 Mat3f m = cameraOrientation.toMatrix3(); in renderObjectAsPoint_nosprite() 4340 Mat3f m = cameraOrientation.toMatrix3(); in renderObjectAsPoint() 4768 Mat3f rot = orientation.toMatrix3(); in renderEllipsoidAtmosphere() 5052 Mat3f rot = orientation.toMatrix3(); in renderCompass() 6825 Mat3d bodyMatrix = bodyOrientation.toMatrix3(); in renderLocations() 7090 Mat3f m = (~objOrientation).toMatrix3(); in setupObjectLighting() 8351 Vec3f u0 = Vec3f(0, 1, 0) * q.toMatrix3(); in renderCometTail() 8352 Vec3f u1 = Vec3f(1, 0, 0) * q.toMatrix3(); in renderCometTail() 8390 Mat3f m = q.toMatrix3(); in renderCometTail() 10393 Mat3f m = orientation.toMatrix3(); in renderParticles() [all …]
|
H A D | rotation.cpp | 243 v = v * equatorOrientationAtTime(tdb).toMatrix3(); in angularVelocityAtTime()
|
/dports/astro/celestia/celestia-1.6.1/src/celengine/ |
H A D | observer.cpp | 402 p = origin + v0 * Quatd::slerp(q0, q1, t).toMatrix3(); in update() 498 Vec3d up = Vec3d(0, 1, 0) * getOrientation().toMatrix3(); in update() 601 offset = offset * orientationUniv.toMatrix3(); in computeGotoParameters() 613 upd = upd * orientationUniv.toMatrix3(); in computeGotoParameters() 677 upd = upd * orientationUniv.toMatrix3(); in computeGotoParametersGC() 721 Vec3d up = Vec3d(0, 1, 0) * getOrientation().toMatrix3(); in computeCenterParameters() 754 Vec3d w = Vec3d(0.0, 0.0, -1.0) * getOrientation().toMatrix3(); in computeCenterCOParameters() 764 jparams.to = centerPos + ((getPosition() - centerPos) * q.toMatrix3()); in computeCenterCOParameters() 934 v = v * qd2.toMatrix3(); in orbit() 1325 Vec3d viewDir = Vec3d(0, 0, -1) * orientationUniv.toMatrix3(); in gotoSurface() [all …]
|
H A D | frame.cpp | 55 Mat3d r = q.toMatrix3(); in rotate() 118 return Point3d(0.0, 0.0, 0.0) + (p - center) * conjugate(getOrientation(tjd)).toMatrix3(); in convertFromAstrocentric() 122 return p * conjugate(getOrientation(tjd)).toMatrix3(); in convertFromAstrocentric() 140 return center + p * getOrientation(tjd).toMatrix3(); in convertToAstrocentric() 144 return p * getOrientation(tjd).toMatrix3(); in convertToAstrocentric() 780 v = vec * frame->getOrientation(tjd).toMatrix3(); in direction()
|
H A D | skygrid.cpp | 442 Mat3d r = (cameraOrientation * xrot90 * ~m_orientation * ~xrot90).toMatrix3(); in render() 619 Mat3f m = conjugate(observer.getOrientationf()).toMatrix3(); in render() 620 p0 = p0 * orientationf.toMatrix3(); in render() 621 p1 = p1 * orientationf.toMatrix3(); in render() 696 Mat3f m = conjugate(observer.getOrientationf()).toMatrix3(); in render() 697 p0 = p0 * orientationf.toMatrix3(); in render() 698 p1 = p1 * orientationf.toMatrix3(); in render()
|
H A D | galaxy.cpp | 235 …section(Ray3d(Point3d() + (ray.origin - getPosition()), ray.direction) * conjugate(qd).toMatrix3(), in pick() 306 Mat3f viewMat = viewerOrientation.toMatrix3(); in renderGalaxyPointSprites() 317 Mat3f::scaling(form->scale)*getOrientation().toMatrix3()*Mat3f::scaling(size); in renderGalaxyPointSprites() 333 cosi = Vec3f(0,1,0) * getOrientation().toMatrix3() in renderGalaxyPointSprites() 341 cosi = Vec3f(1,0,0) * getOrientation().toMatrix3() in renderGalaxyPointSprites() 402 Vec3f eyePos_obj = -offset * (~getOrientation()).toMatrix3(); in renderGalaxyEllipsoid()
|
H A D | planetgrid.cpp | 78 (1.0 + labelOffset) * pos * bodyOrientation.toMatrix3(); in longLatLabel() 114 Vec3d viewRayOrigin = Vec3d(-pos.x, -pos.y, -pos.z) * (~q).toMatrix3(); in render() 118 Vec3f vn = Vec3f(0.0f, 0.0f, -1.0f) * renderer->getCameraOrientation().toMatrix3(); in render()
|
H A D | globular.cpp | 289 …section(Ray3d(Point3d() + (ray.origin - getPosition()), ray.direction) * conjugate(qd).toMatrix3(), in pick() 389 Mat3f viewMat = viewerOrientation.toMatrix3(); in renderGlobularPointSprites() 397 Mat3f::scaling(form->scale) * getOrientation().toMatrix3() * in renderGlobularPointSprites()
|
H A D | axisarrow.cpp | 473 phase->orbitFrame()->getOrientation(tdb).toMatrix3(); in getDirection() 526 phase->bodyFrame()->getOrientation(tdb).toMatrix3(); in getDirection() 529 body.getEclipticToFrame(tdb).toMatrix3(); in getDirection()
|
H A D | body.cpp | 476 position += Vec3d(p.x, p.y, p.z) * frame->getOrientation(tdb).toMatrix3(); in getPosition() 481 position += Vec3d(p.x, p.y, p.z) * frame->getOrientation(tdb).toMatrix3(); in getPosition() 512 v = v * orbitFrame->getOrientation(tdb).toMatrix3() + orbitFrame->getCenter().getVelocity(tdb); in getVelocity() 534 v = v * bodyFrame->getOrientation(tdb).toMatrix3(); in getAngularVelocity() 658 Vec3d bf = ecl * (~q).toMatrix3(); in eclipticToPlanetocentric()
|
H A D | precession.cpp | 358 Vec3d v0 = xaxis * p03lpRot.toMatrix3(); in main() 359 Vec3d v1 = xaxis * p03Rot.toMatrix3(); in main()
|
H A D | location.cpp | 200 return Point3d(position.x, position.y, position.z) * q.toMatrix3(); in getPlanetocentricPosition()
|
H A D | render.cpp | 4178 Mat3f m = cameraOrientation.toMatrix3(); in renderObjectAsPoint_nosprite() 4340 Mat3f m = cameraOrientation.toMatrix3(); in renderObjectAsPoint() 4768 Mat3f rot = orientation.toMatrix3(); in renderEllipsoidAtmosphere() 5052 Mat3f rot = orientation.toMatrix3(); in renderCompass() 6825 Mat3d bodyMatrix = bodyOrientation.toMatrix3(); in renderLocations() 7090 Mat3f m = (~objOrientation).toMatrix3(); in setupObjectLighting() 8351 Vec3f u0 = Vec3f(0, 1, 0) * q.toMatrix3(); in renderCometTail() 8352 Vec3f u1 = Vec3f(1, 0, 0) * q.toMatrix3(); in renderCometTail() 8390 Mat3f m = q.toMatrix3(); in renderCometTail() 10393 Mat3f m = orientation.toMatrix3(); in renderParticles() [all …]
|
/dports/games/glest/glest_source_3.2.2/source/shared_lib/include/graphics/ |
H A D | quaternion.h | 85 Matrix3f toMatrix3() const;
|
/dports/games/megaglest/megaglest-source-3.13.0/source/shared_lib/include/graphics/ |
H A D | quaternion.h | 92 Matrix3f toMatrix3() const;
|