随笔分类 -  irrlicht3D引擎

边学边写一个3D游戏引擎
irrlicht1.7.0(2):基础接口
摘要:IEventReceiver.h定义了irrlicht引擎中的事件类型(struct SEvent)和事件接口(class IEventReceiver) 1 struct SEvent 2 { 3 EEVENT_TYPE EventType; 4 union 5 { 6 struct SGUIEvent GUIEvent; //UI响应事件 7 struct SMouseInput MouseInput; //鼠标输入事件 8 struct SKeyInput KeyInput; ... 阅读全文

posted @ 2013-05-18 01:27 kirito 阅读(323) 评论(0) 推荐(0)

irrlicht1.7.0(1):irrTypes.h
摘要://因为作者的水平不够所以学习先从irrlicht引擎最基本的地方开始首先我们来看一下irrTypes.h这个文件,这个文件里包含了irrlicht引擎中一些最基本的类型的定义首先是#ifndef __IRR_TYPES_H_INCLUDED__#define __IRR_TYPES_H_INCLUDED__#include "IrrCompileConfig.h"namespace irr这里主要是说明一下IrrCompileConfig.h这个文件,它是包含了irrlicht里一些基本的平台、载入文件类型、底层渲染用SDK相关的宏,这里不与说明大家都能看懂#ifdef 阅读全文

posted @ 2013-05-15 18:08 kirito 阅读(222) 评论(0) 推荐(0)

导航