This shows you the differences between two versions of the page.
Link to this comparison view
— |
zeolite:types:vector4d [2017/08/31 06:46] (current) |
| + | ====== vector4d ====== |
| | | |
| + | ===== Description ===== |
| + | |
| + | ''vector4f'' is structure used to describe a 4-dimensional vector in 64-bit floating point precision. |
| + | |
| + | Vectors may or may not be normalised. |
| + | |
| + | ===== Definition ===== |
| + | |
| + | //In Zeolite_defines.h: // |
| + | |
| + | <code="C"> |
| + | typedef struct { |
| + | double a; |
| + | double b; |
| + | double c; |
| + | double d; |
| + | } vector4d; |
| + | </code> |
| + | |
| + | ===== Member data ===== |
| + | |
| + | ^ Member name ^ Type ^ Comments ^ |
| + | | //a// | double | The first vector component. | |
| + | | //b// | double | The second vector component. | |
| + | | //c// | double | The third vector component. | |
| + | | //d// | double | The fourth vector component. | |
| + | |
| + | |
| + | ===== Type identifiers ===== |
| + | |
| + | ^ [[zeolite:VarID]] | VarID_vector4d | |
| + | ^ [[zeolite:MapID]] | N/A (vector4d is not a valid map type.) | |