ref: 50d107f27c8ee8980693f54d0fadbdd641516e2a
parent: 39e63bec577e4f5e105a7922a7f7d580cb3d76ae
author: rodri <rgl@antares-labs.eu>
date: Fri Sep 27 06:48:47 EDT 2024
remove pointless warning. it's a leftover from a previous version of the parser.
--- a/.workspace
+++ b/.workspace
@@ -1,4 +1,2 @@
#!/bin/rc
-bind -bc ../libobj libobj
-
B *.[hc] mkfile readme doc/*.ms
--- a/marshal.c
+++ b/marshal.c
@@ -227,24 +227,6 @@
}
}
-/*
- * TODO if materials are inserted between primitive declarations
- * references to those materials from early primitives can cause
- * out-of-bounds accesses. find a solution.
- *
- * example:
- *
- * mtl A {
- * diffuse: 1 0 0
- * }
- * prim ... A
- * mtl B {
- * diffuse: 1 0 0
- * }
- * prim ... B
- *
- * now the reference to A is probably wrong because of realloc.
- */
Model *
readmodel(int fd)
{