L3DT documentation
Large 3D terrain generator

Differences

This shows you the differences between two versions of the page.

zeolite:types:vector3f [2011/01/13 03:29]
127.0.0.1 external edit
zeolite:types:vector3f [2017/08/31 06:28] (current)
Line 3: Line 3:
 ===== Description ===== ===== Description =====
  
-vector3f is structure used to describe a 3-dimensional vector in floating-point precision.  This data type is more precise than [[zeolite:types: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).+''vector3f'' is structure used to describe a 3-dimensional vector in floating-point precision.  This data type is more precise than [[zeolite:types: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. Vectors may or may not be normalised.
Line 10: Line 10:
 ===== Definition ===== ===== Definition =====
  
-//In ExtAPI_defines.h: //+//In Zeolite_defines.h: //
  
 <code="C"> <code="C">
Line 36: Line 36:
 ===== Comments ===== ===== Comments =====
  
-Although 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.+Although 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.
 
zeolite/types/vector3f.txt · Last modified: 2017/08/31 06:28 (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