vertex_float1


Description

This function will add a floating point value to the vertex data. The vertex must have been formatted correctly to accept this using the vertex_format_add_custom function.


Syntax:

vertex_float1(buffer, float);

Argument Description
buffer The buffer to write the information to.
float The input value.


Returns:

N/A


Example:

vertex_float1(buff, 0.05);

The above code will add a floating point value to the vertex data being defined.