This function adds three floating point values to the vertex data.
The vertex buffer must have been formatted correctly to accept this using the vertex_format_add_custom function.
vertex_float3(buffer, float, float, float);
Argument | Type | Description |
---|---|---|
buffer | Vertex Buffer | The vertex buffer to write the information to. |
float | Real | The first input value. |
float | Real | The second input value. |
float | Real | The third input value. |
N/A
vertex_float3(buff, 0.05, 0.01, room_width / x);
The above code adds three floating point values to the vertex data being defined.