D3d_model_rotate_z - hpgDesigns/hpg_projects GitHub Wiki

Description

Rotates the vertex data in the given model.

Parameters

Parameter Data Type Description
id integer index of the model to load the vertex data into
rotx gs_scalar z rotation, in degrees

Return Values

void: This function does not return anything.

Example Call

// demonstrates rotating the vertices of a model
d3d_model_rotate_x(xrot);
d3d_model_rotate_y(yrot);
d3d_model_rotate_z(zrot);

NOTOC