topical media & game development
lib-of-vs-addons-ofx3DModelLoader-src-ofx3DModelLoader.h / h
#pragma once
include <ofMain.h>
include <model3DS.h>
class ofx3DModelLoader{
public:
ofx3DModelLoader();
~ofx3DModelLoader();
void loadModel(string modelName, float scale = 1.0);
void setPosition(float x, float y, float z);
void setScale(float x, float y, float z);
void setRotation(int which, float angle, float rot_x, float rot_y, float r_z);
void draw();
vector <float> rotAngle;
vector <ofPoint> rotAxis;
ofPoint scale;
ofPoint pos;
int numRotations;
ofx3DBaseLoader * model;
};
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.