Commit graph

13 commits

Author SHA1 Message Date
Bill Currie
9a44a9fe17 fix up some comments (taking a break tonight, I guess:) 2000-11-21 07:49:58 +00:00
Bill Currie
28701e8f76 poly edge crossing FOUR (ouch, that was unexpected) cube faces partially taken
care of. I have to fill in the incomplete faces (hmm, that will be interesting)
and figure out why one corner in one of my test cases is sometimes set and
sometimes not. Hmm, might be confused buy the enter/leave info from that edge.
2000-11-20 05:41:11 +00:00
Bill Currie
ce5f4b92ca fix a silly bug with framed faces. must have been tired 2000-11-20 05:26:14 +00:00
Bill Currie
b948a6c004 another bites the dust, dn dn dn :)
I think I only have one more clipping case to take care of, and it's really a
bug in an earlier case.
2000-11-19 01:18:54 +00:00
Bill Currie
5ae45ec667 framed cube faces work now! :) clockwise polygon rules are very convenient
(ccw would be just as good, it's the rule that counts:)
2000-11-18 06:44:08 +00:00
Bill Currie
b38903cc6a add the center points of the sky polys to the debug info. 2000-11-17 07:19:47 +00:00
Bill Currie
91b2d46330 fixed the bogus vector. I wasn't copying enough vertexen when doing the insert.
Oops :/
2000-11-17 06:02:47 +00:00
Bill Currie
b19b9141cc WOOHOO, framed box face finally works (mostly). For some reason, I sometimes
get a bogus vector on one of the faces, but this is a major improvement :)
Almost there to fully working skybox clipping.
2000-11-17 05:47:48 +00:00
Bill Currie
c59579c8c5 fix a dumb bug in leave_face() caused by the similarity to enter_face 2000-11-17 03:18:22 +00:00
Bill Currie
5d69bb1342 use Sys_Error instead of abort 2000-11-16 23:00:35 +00:00
Bill Currie
141fb8b7a5 try to insert the cube vertexen into the correct spot in the face poly vertex
list.
2000-11-16 20:05:15 +00:00
Bill Currie
c604d261f7 cleanup and document current code. Also catch a couple of possible bugs in the
process
2000-11-15 18:43:19 +00:00
Bill Currie
293d2bcc13 split gl_sky.c into gl_sky.c and gl_sky_clip.c (should have done this in the
first place, but I didn't realise how much code would go into sky clipping).
2000-11-15 17:20:54 +00:00