L3DT documentation
Large 3D terrain generator



vector4c is structure used to describe a 4-dimensional vector in signed 8-bit integer ('char') precision. This data type is less precise than vector4f but more compact.

Each vector component has the range -128…127, and vectors may or may not be normalised.


In Zeolite_defines.h:

typedef struct {
  signed char a;
  signed char b;
  signed char c;
  signed char d;
} vector4c;

Member data

Member name Type Comments
a signed char The first vector component.
b signed char The second vector component.
c signed char The third vector component.
d signed char The fourth vector component.

Type identifiers

VarID VarID_vector4c
MapID N/A (vector4c is not a valid map type.)
zeolite/types/vector4c.txt · Last modified: 2017/08/31 06:46 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki