[toc]
原文的项目采用的是链式管理内存的方法
# PoolInfo
123456789101112131415161718192021222324252627282930struct FPoolInfo{ DWORD Bytes; // Bytes allocated for pool. DWORD OsBytes; // Bytes aligned to page size. DWORD Taken; // Number of allocated elements in this pool, when counts down to zero can free the...
# radiance 和 iradiance
radiance: 光照到表面上反射出的能量
iradiance: 入射的能量 基于反射率方程产生的三个挑战
- 1. How to get incoming radiance for any given incoming direction.
- 对于人给定的入射方向如何获得入射的能量 - 2. Integral of lighting and scatting function on hemisphere is expensive
- 半球表面上完整的计算照明与散射函数的消耗是昂贵的 - 3. To evaluate incoming...
#include
using namespace std;
class A{
public:
int i=3;//4 字节
virtual void testFunc (){
std::cout<<“Hello”<<std::endl;
}
};
class B{
public:
int c=4,n=5;
virtual void testFunc2(){
std::cout<<“World”<<std::endl;
}
};
class C : public A,public...