Ignore:
Timestamp:
Jan 26, 2011, 3:49:51 PM (9 years ago)
Author:
sam
Message:

Rename Float3 to float3, Int3 to int3 etc. and add the 4-member versions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emitter.cpp

    r290 r294  
    2828private:
    2929    int tiler;
    30     Float3 gravity;
     30    float3 gravity;
    3131    int particles[100];
    32     Float3 positions[100];
    33     Float3 velocities[100];
     32    float3 positions[100];
     33    float3 velocities[100];
    3434    int nparticles;
    3535};
     
    3939 */
    4040
    41 Emitter::Emitter(int tiler, Float3 gravity)
     41Emitter::Emitter(int tiler, float3 gravity)
    4242  : data(new EmitterData())
    4343{
     
    7676}
    7777
    78 void Emitter::AddParticle(int id, Float3 pos, Float3 vel)
     78void Emitter::AddParticle(int id, float3 pos, float3 vel)
    7979{
    8080    if (data->nparticles >= 100)
Note: See TracChangeset for help on using the changeset viewer.