rage game engine free game engine

rglAddDynamicUniqueMeshNormal

Sulaco Home
/ News / About Rage 3D / Current Features / Download Rage 3D / License / News Archive / Our Team / Rage 3D Functions / Rage 3D Games / Screen Shots / Tutorials /

Google
 
Web www.rage-game-engine.za.net



Hosting provided by Sulaco New Media Search Engine Optimization and Search Engine Ranking

 Ads


rglAddDynamicUniqueMeshNormal

function rglAddDynamicUniqueMeshNormal(
const aObjectIndex : Integer;
const aX, aY, aZ : Single) : Integer;
stdcall;

Add a unique Normal to the Normal array of the supplied dynamic object

Parameters
aObjectIndex - A Reference to one of the previously created dynamic objects
aX, aY, aZ - the Normal data to add

Returns
The index of the Normal.

Remark
This adds a unique Normal to the supplied dynamic object. Generally this will be used to load Normal data from an external file not known by the engine. Duplicate checking is performed, and if a duplicate is found, the index of the first occurance is returned. This function is used to save system memory.



 Ads




SourceForge.net Logo