vertex_float3


Description

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


Syntax:

vertex_float3(buffer, float, float, float);

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


Returns:

N/A


Example:

vertex_float3(buff, 0.05, 0.01, room_width / x);

The above code will add three floating point values to the vertex data being defined.