#ifndef THREED_H_
#define THREED_H_
class ThreeD {
public:
void push();
void pop();
void translate(float x, float y, float z);
void scale(float sx, float sy, float sz);
void rotate(float rotationAngle, float referenceX,float referenceY,float referenceZ);
void ortho(float leftX, float rightX, float bottomY, float topY, float nearZ, float farZ);
void perspective(float angleVerticleFOV, float aspectRatio, float nearZ, float farZ);
void lookAt( float fx, float fy, float fz, float atx, float aty,float atz, float upx, float upy, float upz);
void vertex(float x, float y, float z);
void reset();
//input handlers
int push(char * arg[]);
int pop(char * arg[]);
int translate(char * arg[]);
int scale(char * arg[]);
int rotate(char * arg[]);
int ortho(char * arg[]);
int perspective(char * arg[]);
int lookAt(char * arg[]);
int vertex(char * arg[]);
int reset(char * arg[]);
};
#endif /* THREED_H_ */
Welcome to the bulix.org / pastebin. Please don't use this pastebin for illegal purposes, defamation or kitten-squashing.
This pastebin is written using PHP and MySQL and relies on Alex Gorbatchev's syntax hhighlighter (JavaScript based). To avoid spam, you will be required to complete a small mathematical challenge when adding a new paste.
New! Try the pastebin command-line tool: paste.py (requires Python and python-beautifulsoup).
Powered by the Bulix.org Code Pastebin, by Maxime Petazzoni. View pastebin statistics.