2026-03-01 12:16:08 +08:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
#include "Model.h"
|
|
|
|
|
|
2026-03-02 17:37:16 +07:00
|
|
|
class BookModel : public Model
|
2026-03-01 12:16:08 +08:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
ModelPart *leftLid, *rightLid;
|
|
|
|
|
ModelPart *leftPages, *rightPages;
|
|
|
|
|
ModelPart *flipPage1, *flipPage2;
|
|
|
|
|
ModelPart *seam;
|
|
|
|
|
|
|
|
|
|
BookModel();
|
2026-03-02 17:37:16 +07:00
|
|
|
virtual void render(shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled);
|
2026-03-03 03:04:10 +08:00
|
|
|
virtual void setupAnim(float time, float r, float bob, float yRot, float xRot, float scale, shared_ptr<Entity> entity, unsigned int uiBitmaskOverrideAnim = 0);
|
2026-03-01 12:16:08 +08:00
|
|
|
};
|