⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 object3d.h

📁 This contains Graphic gems code
💻 H
字号:
/*************************************************************************									** CLASS: Object3D							** AUTHOR: Jean-Francois DOUE						** LAST MODIFICATION: 12 Oct 1993					**									** This class is an abstract root class for all the 3D objects.		** It stores the position an the orientation of the object		**									*************************************************************************/#ifndef Object3D_h#define Object3D_h 1#include "algebra3.h"class Object3D{protected: vec3	pos; mat4	orient;public: void setPosition(vec3& p) { pos = p; }; vec3 position() { return pos; }; void setOrientation(mat4& o) { orient = o; }; mat4 orientation() { return orient; }; // friends friend istream& operator >> (istream& s, Object3D& a);};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -