teeuniverse / teeuniverses-old-draft

A retro multiplayer shooter
http://teeworlds.com
Other
7 stars 1 forks source link

Add CAsset_MapPolygons #94

Open necropotame opened 8 years ago

necropotame commented 8 years ago

Contains a list of_polygons created in the editor. Each polygon is represented as a list of vertices (the triangulation is made when the asset is loaded). A polygon contains also a position, a pivot, an angle and a scale. To be visible, a pointer to a material must be provided, and to be used by the server, a pointer to a zone type must be provided.