BRender Technical Reference Manual:4 Data Structures (Alphabetical Reference):br_fvector3
Next|Prev|Up
The Structure
Members
Arithmetic
Copy/Assign
Initialisation

br_fvector3


The Structure

This is the three ordinate fractional vector structure, typically used for storing surface normals. It is not intended for use by the application and is documented here only for completeness.

The typedef

(See vector.h for precise declaration and ordering)

br_fraction v[3] Ordinates (0=x, 1=y, 2=z)

Related Structures

See br_vector3
356.

This structure is currently used by br_vertex367, and br_face122. It's presence must not be relied upon.

Members

br_fraction v[3]

First, second and third ordinate. Conventionally, the first ordinate is the x-axis component, the second, the y axis component, and the third, the z axis component.

Arithmetic

No approved arithmetic.

Copy/Assign

No approved assignment.

Initialisation

The following macro may be used as a static initialiser.

BR_FVECTOR3(a,b,c)
Macro expands to {BR_FRACTION(a), BR_FRACTION(b), BR_FRACTION(c)}.

All other initialisation should use member-wise initialisers.


Generated with
CERN WebMaker