Start implementing clipping triangles
This commit is contained in:
1 parent
ae072ec70e
commit
3c293198bb
2 files changed
+47
-8
No files matched your search
@@ -41,7 +41,8 @@ typedef struct {
|
||||
list_scene_triangle_t *triangles;
|
||||
} model_t;
|
||||
#define NULL_MODEL ((model_t){0})
|
||||
#define IS_NULL_MODEL(MODEL) (MODEL.vertices == NULL && MODEL.triangles == NULL)
|
||||
#define IS_NULL_MODEL(MODEL_PTR) \
|
||||
(MODEL_PTR->vertices == NULL && MODEL_PTR->triangles == NULL)
|
||||
|
||||
typedef struct {
|
||||
f32 scale;
|
||||
|
||||
Reference in new issue
Block a user