next up previous contents
Next: Metode Up: A.3 Camera Previous: A.3 Camera Vsebina: contents

Definicija

class Camera: public Object
{
protected:
vec2 res; // locljivost filma
vec3 u, v; // smer osi u in v
vec3 dop; // smer v katero gledamo
vec2 uvMax; // maxsimalne koordinate filma
double h; // oddaljenost filma od gorisca

public:

void setup(int resx, int resy,
double from[3], double at[3], double up[3],
double angleU, double angleV, double hither );
vec2 getRes() {return res;}
void Describe(int indent);
vec2& p);
};


Copyright © 1995 Leon Kos, Univerza v Ljubljani