It's free to join Gamasutra!|Have a question? Want to know who runs this site? Here you go.|Targeting the game development market with your product or service? Get info on advertising here.||For altering your contact information or changing email subscription preferences.
Registered members can log in here.Back to the home page.

Search articles, jobs, buyers guide, and more.

by Jeff Lander
Gamasutra
February 08, 2000

Printer Friendly Version

Letters to the Editor:
Write a letter
View all letters


Features

Listing 1. The particle type.

// TYPE FOR A PHYSICAL PARTICLE IN THE SYSTEM
struct tParticle
{

    tVector pos; // Position of Particle
    tVector v; // Velocity of Particle
    tVector f; // Total Force Acting on Particle
    float oneOverM; // 1 / Mass of Particle
};

________________________________________________________

Back to Article


join | contact us | advertise | write | my profile
news | features | companies | jobs | resumes | education | product guide | projects | store



Copyright © 2003 CMP Media LLC

privacy policy
| terms of service