csLockedNormalData Struct Reference
Locked normal data. More...
#include <imesh/terrain2.h>
Public Attributes | |
csVector3 * | data |
normal data array | |
size_t | pitch |
array pitch |
Detailed Description
Locked normal data.
This class holds an information needed to fill/interpret normal data. The elements are object space normals.
Two-dimensional normal array is linearized, so additional math is needed to get access to desired values: Instead of data[y][x], use data[y * pitch + x]
Definition at line 84 of file terrain2.h.
Member Data Documentation
normal data array
Definition at line 87 of file terrain2.h.
size_t csLockedNormalData::pitch |
array pitch
Definition at line 90 of file terrain2.h.
The documentation for this struct was generated from the following file:
- imesh/terrain2.h
Generated for Crystal Space 2.0 by doxygen 1.6.1