Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 3rdparty/quickjs
Submodule quickjs added at f78301
5 changes: 2 additions & 3 deletions axmol/scene/Scene.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ class AX_DLL Scene : public Node

// query interpolation alpha for rendering
float getPhysicsInterpolationAlpha() const { return _physicsInterpolationAlpha; }
void tick(float delta);
virtual void fixedUpdate(float delta);

private:
void initDefaultCamera();
Expand Down Expand Up @@ -241,9 +243,6 @@ class AX_DLL Scene : public Node
bool initWithPhysics();
bool initPhysicsWorld();

void tick(float delta);
virtual void fixedUpdate(float delta);

protected:
# if defined(AX_ENABLE_PHYSICS_2D)
PhysicsWorld2D* _physicsWorld2D = nullptr;
Expand Down