KrisLibrary  1.0.0
transform.h
1 #ifndef CAMERA_TRANSFORM_H
2 #define CAMERA_TRANSFORM_H
3 
5 using namespace Math3D;
6 
7 //#warning "transform.h has been superceded by camera.h"
8 
9 void SetOrbitTransform(const Vector3& rot, const Vector3& target, float dist, RigidTransform& xform);
10 void SetFreeTransform(const Vector3& pos, const Vector3& rot, RigidTransform& xform);
11 void SetTargetTransform(const Vector3& pos, const Vector3& tgt, const Vector3& up, RigidTransform& xform);
12 
13 void GetOrbitTransform(const RigidTransform& xform, Vector3& rot, Vector3& target, float dist = One);
14 void GetFreeTransform(const RigidTransform& xform, Vector3& pos, Vector3& rot);
15 void GetTargetTransform(const RigidTransform& xform, Vector3& pos, Vector3& tgt, Vector3& up, float tgtDist = One);
16 
17 #endif
A 3D vector class.
Definition: math3d/primitives.h:136
Class declarations for useful 3D math types.
A rigid-body transformation.
Definition: math3d/primitives.h:820
Contains all the definitions in the Math3D package.
Definition: AnyGeometry.h:13