Ignore:
Timestamp:
Mar 13, 2013, 12:57:03 PM (7 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/TransferFunction.cpp

    r3177 r3492  
    1515 */
    1616
    17 #include "TransferFunction.h"
    1817#include <memory.h>
    1918#include <assert.h>
     19
     20#include <vrmath/Vector3f.h>
     21
     22#include "TransferFunction.h"
     23
     24using namespace vrmath;
    2025
    2126TransferFunction::TransferFunction(int size, float *data)
     
    5257
    5358void
    54 TransferFunction::sample(float fraction, float *key, int count, Vector3 *keyValue, Vector3 *ret)
     59TransferFunction::sample(float fraction, float *key, int count, Vector3f *keyValue, Vector3f *ret)
    5560{
    5661    int limit = count - 1;
Note: See TracChangeset for help on using the changeset viewer.