Skip to content

Commit

Permalink
Many fixes and performance boost
Browse files Browse the repository at this point in the history
  • Loading branch information
OakwoodTable authored Feb 19, 2023
1 parent e7e50cd commit 05e237c
Show file tree
Hide file tree
Showing 29 changed files with 947 additions and 438 deletions.
5 changes: 5 additions & 0 deletions source/Apple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ constexpr ObjectTypes Apple::type()
return apple;
}

constexpr float Apple::image_sensor_val()
{
return 1.5f;
}

void Apple::draw()
{
CalcScreenX();
Expand Down
1 change: 1 addition & 0 deletions source/Apple.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class Apple :public Object
public:

constexpr ObjectTypes type() override;
constexpr float image_sensor_val() override;
void draw() override;


Expand Down
Loading

0 comments on commit 05e237c

Please sign in to comment.