Changes to sprite animation system
* Changed the names of some of the functions * Added functions for setting and returning the projection matrix of the active camera * Added a function for getting the 2D screen coordinates from a 3D vector * Added documentation for all the new functions
This commit is contained in:
Binary file not shown.
@@ -1238,6 +1238,10 @@ string rc_keywordToken(string sline)
|
||||
return "<num>19";
|
||||
else if(sline.compare("MD2_ANIMATION_BOOM")==0)
|
||||
return "<num>20";
|
||||
else if(sline.compare("PROJECTION_TYPE_ORTHOGRAPHIC")==0)
|
||||
return "<num>0";
|
||||
else if(sline.compare("PROJECTION_TYPE_PERSPECTIVE")==0)
|
||||
return "<num>1";
|
||||
else if(sline.compare("SPRITE_TYPE_STATIC")==0)
|
||||
return "<num>0";
|
||||
else if(sline.compare("SPRITE_TYPE_KINEMATIC")==0)
|
||||
|
||||
Reference in New Issue
Block a user