Thread: math: sline lope

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    ‡ †hë Ö†hÈr sîÐè ‡ Nor's Avatar
    Join Date
    Nov 2001
    Posts
    299

    math: line slope

    i need to draw an imaginary line in a 3D world using the slope
    method. (terminology is off. been a few years since math class)

    if i remember right its the difference of x over the difference of y.
    (X1 - X2 ) / (y1 -y2) used to calculate any point on a straight line.

    in short im trying to find a way to use this in a 3d world for collision detection(GuNs – path of the bullets/projectiles).
    any links would be a big help.
    thx
    Last edited by Nor; 09-30-2003 at 08:18 PM.
    Try to help all less knowledgeable than yourself, within
    the limits provided by time, complexity and tolerance.
    - Nor

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Math
    By knightjp in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 04-01-2009, 05:36 PM
  2. how to use operator+() in this code?
    By barlas in forum C++ Programming
    Replies: 10
    Last Post: 07-09-2005, 07:22 PM
  3. Help with C++ Math
    By aonic in forum C++ Programming
    Replies: 4
    Last Post: 01-29-2005, 04:40 AM
  4. Math Header?
    By Rune Hunter in forum C++ Programming
    Replies: 26
    Last Post: 09-17-2004, 06:39 AM
  5. toughest math course
    By axon in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 10-28-2003, 10:06 PM