Skip to content

Instantly share code, notes, and snippets.

Avatar
🍰
A piece of cake

Ryo Suzuki Reputeless

🍰
A piece of cake
View GitHub Profile
View box2dtest.cpp
# include <Siv3D.hpp>
# include <HamFramework.hpp>
const Polygon& GetPolygon(int index)
{
const double BallSize = 1.0;
static const Polygon polygons[] =
{
View main.cpp
#include <Siv3D.hpp>
#include <deque>
class Bullet
{
public:
Bullet(Vec2 pos, Vec2 vec, Color color)
: pos(pos), vec(vec), color(color) {}
void move()