修改WalkerCameraAppFramework为CameraAppFramework
This commit is contained in:
@@ -15,7 +15,7 @@ using namespace hgl::graph;
|
||||
constexpr uint32_t SCREEN_WIDTH=128;
|
||||
constexpr uint32_t SCREEN_HEIGHT=128;
|
||||
|
||||
class TestApp:public WalkerCameraAppFramework
|
||||
class TestApp:public CameraAppFramework
|
||||
{
|
||||
private:
|
||||
|
||||
@@ -131,7 +131,7 @@ public:
|
||||
|
||||
bool Init()
|
||||
{
|
||||
if(!WalkerCameraAppFramework::Init(SCREEN_WIDTH,SCREEN_HEIGHT))
|
||||
if(!CameraAppFramework::Init(SCREEN_WIDTH,SCREEN_HEIGHT))
|
||||
return(false);
|
||||
|
||||
if(!InitMaterial())
|
||||
@@ -153,7 +153,7 @@ public:
|
||||
|
||||
void Draw() override
|
||||
{
|
||||
WalkerCameraAppFramework::Draw();
|
||||
CameraAppFramework::Draw();
|
||||
|
||||
Matrix4f rot=rotate(GetDoubleTime()-start_time,camera.up_vector);
|
||||
|
||||
@@ -168,7 +168,7 @@ public:
|
||||
{
|
||||
BuildCommandBuffer(&render_list);
|
||||
}
|
||||
};//class TestApp:public VulkanApplicationFramework
|
||||
};//class TestApp:public CameraAppFramework
|
||||
|
||||
int main(int,char **)
|
||||
{
|
||||
|
Reference in New Issue
Block a user