Ignore:
Timestamp:
Mar 13, 2013, 9:57:03 AM (12 years ago)
Author:
ldelgass
Message:

Fix camera reset for nanovis. Includes refactoring of vector/matrix classes
in nanovis to consolidate into vrmath library. Also add preliminary canonical
view control to clients for testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/ParticleSystem.h

    r3468 r3492  
    2222struct NewParticle {
    2323    int index;
    24     vrVector3f position;
    25     vrVector3f velocity;
     24    vrmath::Vector3f position;
     25    vrmath::Vector3f velocity;
    2626    float timeOfDeath;
    2727    float initTimeStep;
     
    204204
    205205    Particle *_particles;
    206     vrVector3f *_positionBuffer;
     206    vrmath::Vector3f *_positionBuffer;
    207207    color4 *_colorBuffer;
    208208    unsigned _colorBufferID;
     
    304304    // INSOO
    305305    // TEST
    306     std::vector<vrVector3f> *_criticalPoints;
     306    std::vector<vrmath::Vector3f> *_criticalPoints;
    307307
    308308    // TEMP
     
    322322    void initInitPosTex();
    323323
    324     void allocateParticle(const vrVector3f&, const vrVector3f&, float, float);
     324    void allocateParticle(const vrmath::Vector3f&, const vrmath::Vector3f&, float, float);
    325325    void initNewParticles();
    326326    void cleanUpParticles();
Note: See TracChangeset for help on using the changeset viewer.