fastest 3D software for linux

Linux 3D
interactive ray-tracing
[1 introduction] [2 overview] [3 reference] [4 GUI]

Index

 E3dCamera_Init
 E3dCamera_LookAt

E3dCamera_Init

Initialize static Camera structure

Syntax
void E3dCamera_Init(E3dCamera* PCamera)

Argument
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
PCamera Pointer to the Camera PCameraModel Pointer to the Model that instantiates the Camera P3Position The position of the Camera PAimPoint The point at which the camera will be "looking" PUpVector A vector, specifying which way is "up" for the camera 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.
© 1996-2024 By Gabor Nagy