mirror of
https://github.com/GayPizzaSpecifications/cxx-swift-interop.git
synced 2025-08-05 22:21:31 +00:00
restore c++ backend using swift 6's improved interop
This commit is contained in:
@ -34,6 +34,9 @@ public:
|
||||
struct BallWorld {
|
||||
std::vector<Ball> balls;
|
||||
|
||||
BallWorld() noexcept;
|
||||
virtual ~BallWorld() noexcept = default;
|
||||
|
||||
void add(Ball::vec2f pos, float angle, float ballSize) noexcept;
|
||||
void update(float deltaTime) noexcept;
|
||||
};
|
||||
|
Reference in New Issue
Block a user