D3d_model_scale_uv - hpgDesigns/hpg_projects GitHub Wiki

Description

Scales the texture coordinates of the given model.

Parameters

Parameter Data Type Description
id integer index of the model to load the vertex data into
xscale gs_scalar x fact of scaling, 0 to 1
yscale gs_scalar y fact, 0 to 1

Return Values

void: This function does not return anything.

Example Call

// demonstrates scaling the texture coordinates of a model
d3d_model_scale_uv(mymod, 0.5, 0.5);

NOTOC