aozhiwei a2df9aafb2 1
2023-02-10 11:07:24 +08:00

36 lines
833 B
C++

#pragma once
#ifdef DEBUG
#include <glm/gtc/quaternion.hpp>
#include <glm/gtx/quaternion.hpp>
class Creature;
class DebugCmd
{
public:
static bool Enable();
static void CreateSphere(Creature* c,
const glm::vec3& pos,
const glm::vec3& scale,
int uniid);
static void CreateCube(Creature* c,
const glm::vec3& pos,
const glm::vec3& scale,
const glm::quat& rotation,
int uniid);
static void DrawLine(Creature* c,
const glm::vec3& begin,
const glm::vec3& end,
float time);
static void DestoryGameObject(Creature* c, int uniid);
};
#endif