vertex_float2(buffer, float, float);
参数 | 描述 |
---|---|
buffer | The buffer to write the information to. |
float | The first input value. |
float | The second input value. |
返回: N/A(无返回值)
This function will add two floating point values to the vertex
data. The vertex must have been formatted correctly to accept this
using the vertex_format_add_custom
function.
vertex_float2(buff, 0.05, 0.01);
The above code will add two floating point values to the vertex data being defined.