This is an old revision of the document! Table of Contents
vector3fDescriptionvector3f is structure used to describe a 3-dimensional vector in floating-point precision. This data type is more precise than vector3c but is less compact. Therefore, vector3f is used for several calculation settings (for greater accuracy), but is not used in vector map data (for space reasons). Vectors may or may not be normalised. DefinitionIn ExtAPI_defines.h: typedef struct { float x; float y; float z; } vector3f; Member data
Type identifiersCommentsAlthough the vector components are named x, y and z, these members may be used to describe any 3-dimensional vector. As an example, the light-mapping algorithm in L3DT uses a vector3f struct to describe light absorption, and the three members represent the absorption half-depths of red, green and blue light. Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
|