projects
/
henge
/
webcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A quad is now a file
[henge/webcc.git]
/
src
/
apc
/
ir.c
diff --git
a/src/apc/ir.c
b/src/apc/ir.c
index
de021cc
..
fe613ba
100644
(file)
--- a/
src/apc/ir.c
+++ b/
src/apc/ir.c
@@
-414,24
+414,24
@@
insert_ele_vdatid
void
insert_quad
void
insert_quad
-( int x,
- int y,
- int z,
- uint64_t ref_id
+( void* quad_filep
)
{
)
{
- struct quad* curr_quadp;
- struct odat* curr_odatp;
+ /* struct quad* curr_quadp; */
+ /* struct odat* curr_odatp; */
- curr_quadp = curr_quad();
- curr_odatp = curr_odat();
+ /* curr_quadp = curr_quad(); */
+ /* curr_odatp = curr_odat(); */
+
+ /* curr_quadp->x = x; */
+ /* curr_quadp->y = y; */
+ /* curr_quadp->z = z; */
+ /* curr_quadp->ref_id = ref_id; */
+ /* curr_odatp->num_quads++; */
+ struct odat* curr_odatp;
- curr_quadp->x = x;
- curr_quadp->y = y;
- curr_quadp->z = z;
- curr_quadp->ref_id = ref_id;
- curr_odatp->num_quads++;
+ curr_odatp->quad_filep = quad_filep;
}
/* Inserting the hitbox into the set
}
/* Inserting the hitbox into the set