Click here to Skip to main content
15,887,822 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Quick Hit-Testing Pin
Luc Pattyn20-Jun-07 3:56
sitebuilderLuc Pattyn20-Jun-07 3:56 
GeneralRe: Quick Hit-Testing Pin
Ri Qen-Sin20-Jun-07 14:25
Ri Qen-Sin20-Jun-07 14:25 
GeneralRe: Quick Hit-Testing Pin
Ri Qen-Sin20-Jun-07 2:50
Ri Qen-Sin20-Jun-07 2:50 
AnswerRe: Quick Hit-Testing Pin
Stephen Hewitt20-Jun-07 14:13
Stephen Hewitt20-Jun-07 14:13 
GeneralRe: Quick Hit-Testing Pin
cp987620-Jun-07 17:09
cp987620-Jun-07 17:09 
GeneralRe: Quick Hit-Testing Pin
Stephen Hewitt21-Jun-07 16:30
Stephen Hewitt21-Jun-07 16:30 
GeneralRe: Quick Hit-Testing Pin
cp987623-Jun-07 18:34
cp987623-Jun-07 18:34 
AnswerRe: Quick Hit-Testing Pin
Roy Heil2-Jul-07 3:43
professionalRoy Heil2-Jul-07 3:43 
I've never done any gaming programming, so my idea may be way off, but...

I assume that the circles are objects that maintain data about themselves. Could you have the circle objects keep track of what ray would intersect them? That way all the calculations would be done at the time of movement, and at the time the gun is fired, all that needs to be done is to check each circle to see if the shot qualifies as a hit.


Roy.

GeneralRe: Quick Hit-Testing: The "Look and See" Method Pin
Luc Pattyn22-Jun-07 7:00
sitebuilderLuc Pattyn22-Jun-07 7:00 
Questionrunge Kutta Pin
Noharyiasa18-Jun-07 23:46
Noharyiasa18-Jun-07 23:46 
AnswerRe: runge Kutta Pin
Luc Pattyn19-Jun-07 0:11
sitebuilderLuc Pattyn19-Jun-07 0:11 
GeneralRe: runge Kutta Pin
Noharyiasa19-Jun-07 0:21
Noharyiasa19-Jun-07 0:21 
GeneralRe: runge Kutta Pin
Luc Pattyn19-Jun-07 1:02
sitebuilderLuc Pattyn19-Jun-07 1:02 
GeneralRe: runge Kutta Pin
Noharyiasa19-Jun-07 1:24
Noharyiasa19-Jun-07 1:24 
GeneralRe: runge Kutta Pin
Jeffrey Walton5-Jul-07 16:39
Jeffrey Walton5-Jul-07 16:39 
GeneralRe: runge Kutta Pin
Luc Pattyn5-Jul-07 23:28
sitebuilderLuc Pattyn5-Jul-07 23:28 
AnswerRe: runge Kutta Pin
Nathan Addy21-Jun-07 14:39
Nathan Addy21-Jun-07 14:39 
GeneralRe: runge Kutta Pin
Noharyiasa22-Jun-07 5:14
Noharyiasa22-Jun-07 5:14 
Questiontimetable construction Pin
Prinz Ryoiji18-Jun-07 14:54
Prinz Ryoiji18-Jun-07 14:54 
AnswerRe: timetable construction Pin
Paul Conrad21-Jul-07 18:04
professionalPaul Conrad21-Jul-07 18:04 
QuestionC# 3DMath library [modified] Pin
rsaint2715-Jun-07 1:43
rsaint2715-Jun-07 1:43 
AnswerRe: C# 3DMath library Pin
Paul Conrad14-Jul-07 10:16
professionalPaul Conrad14-Jul-07 10:16 
Question1-bit monochrome image dithering algorithm Pin
bluish14-Jun-07 20:53
bluish14-Jun-07 20:53 
GeneralRe: 1-bit monochrome image dithering algorithm Pin
bluish14-Jun-07 23:09
bluish14-Jun-07 23:09 
AnswerRe: 1-bit monochrome image dithering algorithm Pin
cp987614-Jun-07 22:41
cp987614-Jun-07 22:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.