summaryrefslogtreecommitdiff
path: root/scene.c
Commit message (Collapse)AuthorAgeFilesLines
* add a general primitive with support for points, lines and triangles.rodri2024-05-031-46/+227
| | | | | | | | also got rid of the dependency on OBJ for the entire renderer, instead letting the user load a Model from any given OBJ. this modularity will allow for other formats to be used in the same way, relying on a single, internal representation for the entire pipeline.
* scene: correct blatant use-after-free.rodri2024-04-031-2/+3
|
* scene: add a way to remove entities and fix the clearscene routine.rodri2024-04-031-1/+11
|
* add trivial nil checks to some of the cleanup procedures.rodri2024-04-031-1/+8
|
* scene: implement full cleanup procedures.rodri2024-04-031-2/+21
|
* scene: fix uninitialized nents field.rodri2024-04-031-0/+1
|
* add initial support for OBJMaterial properties.rodri2024-02-211-0/+1
|
* implement general polygon fan triangulation.rodri2024-02-151-61/+48
|
* lay out the grounds for a scene renderer.rodri2024-02-131-0/+185
also fixed an issue with cliptriangle() where an entire tri would get discarded if all its vertices were outside the frustum.