http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:



okay, i thought i'd clear up this confusion... (had enough)
a vector (in a maths sense) is a direction and a magnitude. in laymans
terms, something like "go northeast 200 metres". this is most useful for
those of us that like games, especially 3d games. of course, with 3d games,
you need to express the direction including a third axis, so you'd end up
with something like "go northeast and up for two hundred metres", except
that it's not expressed like that, cos it's maths. basically, you need to
get a maths book (or even a book on 3d graphics programming) that explains
it to you, cos there's quite a lot to it, and i'm not going to give a
tutorial here. as you can imagine, this has many applications... (as in
uses, not to be confused with application as in program).
on the other hand, a vector can indeed also be a point that a program jumps
to when something happens - the term is most often used in the interrupt
sense, as in "interrupt vector" - the position that the code that handles an
interrupt is in memory, or, more often, a place that stores a pointer to the
code that handles the interrupt - you only need to know about this sort of
stuff if you're going to write your own interrupt handlers though, which
most people won't be wanting to do.

that's all.

Andy

--

Andy Burgess, Software Engineer.
Information Systems Production Software - 'PA' Listings.
eMail: andrewjb@padd.press.net
Phone: (01430) 488 224

----- Original Message -----
From: Tommi Pirinen <tommi.pirinen@dlc.fi>
To: <gameprogrammer@gameprogrammer.com>
Sent: Monday, September 20, 1999 2:28 PM
Subject: Re:


Isn't a vector a line that has also z coordinate? or vector that points to
some place to program to jump to when certain event happens (ie keyboard is
pressed). I'm not sure though...
----- Original Message -----
From: PHILIPPE NGUE <philippe1@netcourrier.com>
To: <gameprogrammer@gameprogrammer.com>
Sent: Monday, September 20, 1999 4:07 PM


Hi
i don't know what's a vector?. I don't know anything about programming.
i know how to use karel,beeper,wall,and turbo pascal,robotical that's the
only thing i know

So teach me.

Thanks


----- La messagerie itinérante sans abonnement NetCourrier -----
Web : www.netcourrier.com     Minitel : 3615 et 3623 NETCOURRIER
                  Tél : 08 36 69 00 21
======================
To SUBSCRIBE or UNSUBSCRIBE please visit
http://gameprogrammer.com/mailinglist.html

=================================================================
To SUBSCRIBE or UNSUBSCRIBE please visit
http://gameprogrammer.com/mailinglist.html

=================================================================
To SUBSCRIBE or UNSUBSCRIBE please visit
http://gameprogrammer.com/mailinglist.html



  • References:
    • No Subject
      • From: "PHILIPPE NGUE" <philippe1@netcourrier.com>
    • Re:
      • From: "Tommi Pirinen" <tommi.pirinen@dlc.fi>