coneneko.camera



class ViewProjection: coneneko.unit.Unit;


this(float x, float y, float z, float atX, float atY, float atZ);


this(Vector position = create(0F,0F,400F), Vector at = create());


this(Matrix view, Matrix projection);


Matrix toMatrix();


Matrix view();


void view(Matrix a);


Matrix projection();


void projection(Matrix a);


class Camera: coneneko.camera.ViewProjection;
at, positionを更新する場合、at, positionの順に設定しないとエラーになる

Vector at;


float head;
y軸、左右の回転

float pitch;
x軸、上下の回転

float bank;
z軸、upの傾き

float zoom;
p, atの距離

this(float x, float y, float z, float atX, float atY, float atZ);


this(Vector position = create(0F,0F,400F), Vector at = create());


Matrix view();
bank * pitch * head

void view(Matrix a);
使用禁止

Vector position();


void position(Vector p);



Page generated by Ddoc.