![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
文章平均质量分 72
peanutandchestnut
该定性了
展开
-
Unity build
Unity buildOriginal articlePrincipleThe principle is pretty simply, ub(unity build) create an extra .cpp fiile which will include all the other cpp file. Then compile this file, so you onl转载 2015-01-04 13:11:56 · 716 阅读 · 0 评论 -
Ogre实时脚本编辑器
Ogre实时脚本编辑器,支持.material, .particle, .compositor, .program原创 2014-12-19 21:23:16 · 556 阅读 · 0 评论 -
Memory allocate in Ogre
Every memory in ogre will be allocated from AllocatedObject, it use Policy to switch from different allocators.原创 2015-01-11 08:44:40 · 825 阅读 · 0 评论 -
开源Ogre实时脚本编辑器Beta1.11
1.11版本简化了脚本创建。在准备好hlsl的基础上只需1个命令就可以创建好program跟material.原创 2015-01-14 18:10:23 · 597 阅读 · 0 评论 -
Class member attribute memory
This is what i learned from the book Game Engine Architecure. Let's see an example first:class A{private:float f;bool b1;double d;bool b2;};One instance of this class take 24转载 2014-12-28 20:40:37 · 329 阅读 · 0 评论 -
Atan2
Some thing i should know about atant2:Most content of this article copyed from wikipediaThe purpose of using two arguments instead of one is to gather information on the signs of the inputs in ord转载 2014-12-28 19:05:22 · 603 阅读 · 0 评论 -
note--Memory allocate in game
Dynamic memory allocation in gameCustom dynamic memory allocation is need in game or game engine because:1. Dynamic memory allocation via malloc() or C++’s global operator new is a very slow o原创 2014-12-29 11:05:18 · 418 阅读 · 0 评论 -
c++ io manipulator
c++ io manipulatorI use this kind of io manipular now and then.std::cout Let's look at std::setw first, it's defined as:_MRTIMP2 _Smanip __cdecl setw(streamsize wide) { // manipulator to set原创 2015-02-07 10:54:26 · 1084 阅读 · 0 评论 -
Use ogre rtt in cegui 0.8
Ogre rtt in cegui 0.8It's easy to display ogre rtt in cegui, but something should be taking care of.1. set up ogre texturempOgreTexture = &static_cast(getOgreRenderer()->createTexture("Ogre原创 2015-01-01 08:49:26 · 995 阅读 · 0 评论