-
Notifications
You must be signed in to change notification settings - Fork 0
D3d_model_calculate_normals
hugh greene edited this page Jun 20, 2022
·
1 revision
Calculates normals for the vertex data in the given model.
Parameter | Data Type | Description |
---|---|---|
id | integer | index of the model to load the vertex data into |
smooth | boolean | whether to take the average and interpolate the normals between connected vertices |
outside | boolean | whether the normals should be inverted to face the inside of the model |
void: This function does not return anything.
// demonstrates generating smooth normals on a model
d3d_model_calculate_normals(mymod, true, true);
NOTOC
edited by hpg678 on Github