fastest 3D software for linux

Linux 3D
interactive ray-tracing

Index

 E3dCamera_Init
 E3dCamera_LookAt


E3dCamera_Init

Initialize static Camera structure

Syntax
void E3dCamera_Init(E3dCamera* PCamera)

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

Return value
None.

E3dCamera_LookAt

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

Syntax
void E3dCamera_LookAt(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