fastest 3D software for linux

Linux 3D
interactive ray-tracing

Index

 E3d_CameraInit
 E3d_CameraLookAt


E3d_CameraInit

Initialize static Camera structure

Syntax
void E3d_CameraInit(E3dCamera* PCamera)

Argument
E3dCamera* PCamera Pointer to the Camera structure
Description
E3d_CameraInit initializes an E3dCamera structure to its default values. This function must be called for E3dCamera structures not allocated by E3d_ObjectNew().

Return value
None.

E3d_CameraLookAt

Set up a Camera with a "look-at" transform

Syntax
void E3d_CameraLookAt(E3dCamera* PCamera, E3dModel* PCameraModel, const E3dCoord3* P3Position, const E3dCoord3* PAimPoint, const E3dCoord3* PUpVector, const E3dCoordinate PBankAngle)

Arguments
E3dCamera* PCamera Pointer to the Camera E3dModel* PCameraModel Pointer to the Model that instantiates the Camera const E3dCoord3* P3Position The position of the Camera const E3dCoord3* PAimPoint The point at which the camera will be "looking" const E3dCoord3* PUpVector A vector, specifying which way is "up" for the camera const E3dCoordinate PBankAngle Rotation in degrees from the Up vector ("bank")
Description
Sets the transforms of PCameraModel, to make a camera aim toward a point

Return value
None.
© 1992-2017 By Gabor Nagy