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:
n00b
2024-10-18 23:12:42 -04:00
parent 8f372bdf19
commit 5762c171ae
58 changed files with 457 additions and 5 deletions

Binary file not shown.

View File

@@ -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)