📄 eyegame.h
字号:
// -*- c++ -*-// Copyright 2008 Isis Innovation Limited//// EyeGame.h// Declares the EyeGame class// EyeGame is a trivial AR app which draws some 3D graphics// Draws a bunch of 3d eyeballs remniscient of the // AVL logo//#ifndef __EYEGAME_H#define __EYEGAME_H#include <TooN/numerics.h>#include "OpenGL.h"class EyeGame{ public: EyeGame(); void DrawStuff(Vector<3> v3CameraPos); void Reset(); void Init(); protected: bool mbInitialised; void DrawEye(); void LookAt(int nEye, Vector<3> v3, double dRotLimit); void MakeShadowTex(); GLuint mnEyeDisplayList; GLuint mnShadowTex; double mdEyeRadius; double mdShadowHalfSize; SE3 ase3WorldFromEye[4]; int mnFrameCounter;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -