physicsinfo.h
来自「c++ 游戏编程中的内存管理源码示例」· C头文件 代码 · 共 34 行
H
34 行
#ifndef PHYSICSINFO_H_
#define PHYSICSINFO_H_
#include "MemoryMgr.h"
// This is a class that is not part of a hierarchy
struct Vector3d
{
float x, y, z;
};
class PhysicsInfo
{
public:
Vector3d position;
Vector3d velocity;
Vector3d acceleration;
bool bFlying;
// More stuff here
private:
DECLARE_HEAP;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?