Article View: rec.games.programmer
Article #188Re: x and y (was: TP or C ?)
From: silver
Date: Sat, 25 Jul 1992 01:20
Date: Sat, 25 Jul 1992 01:20
28 lines
2042 bytes
2042 bytes
In article <1992Jul23.213310.17575@ccu1.aukuni.ac.nz> stuartw@ccu1.aukuni.ac.nz (Stuart Woolford) writes: > >(ever tried thinking of new and interesting names for x and y when > programming graphics B-< ) > row and column? as a math type, I just got too used to y going up, not down... I realize I should (as a proper math major) just intuit the new basis, but my intuition still finds counting rows down easier than counting ys down... I guess I was hoping for too much, but I saw some interesting questions raised about scrolling windows w/steady backgrounds and other assorted tricks that would be fun to know about... but instead of answers to the questions, just ongoing discussions of pascal v. c w/ lots of "let's include the entire message in the follow up whether we're replying to it or not." and, yes, I'm working on an answer to the hex LOS question... I suppose, though, most ray-trace folk would suggest checking the line between source hex and target hex against the set of circles circumscribed around all the blocking hexes... if you get a match, try the line against the line segments making up the hex... circle-line intersections and line-line intersections should be relatively easy, I think... I'll need overnight to come up with a really good solution. --silver-- | "...Sloooow the plot down, internet: silver@ccwf.cc.utexas.edu | we'll scuttle the story realitynet: silver Harloe@(512)/445-6087 | and run her aground..." In the Village: Number Eight -- Be Seeing You! | --MST3k/Mighty Jack
Technical Details
Message-ID:
<76555@ut-emx.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!ut-emx!ccwf.cc.utexas.eduReferences:
<1992Jul22.000454.24871@ccu1.aukuni.ac.nz> <BruEuz.GJJ@news.cso.uiuc.edu> <1992Jul23.213310.17575@ccu1.aukuni.ac.nz>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu From: silver@ccwf.cc.utexas.edu (silver) Newsgroups: rec.games.programmer Subject: Re: x and y (was: TP or C ?) Message-ID: <76555@ut-emx.uucp> Date: 25 Jul 92 01:20:08 GMT References: <1992Jul22.000454.24871@ccu1.aukuni.ac.nz> <BruEuz.GJJ@news.cso.uiuc.edu> <1992Jul23.213310.17575@ccu1.aukuni.ac.nz> Sender: news@ut-emx.uucp Organization: The Tally Ho Lines: 31