-
ESC
Exit
-
Z
Node ModeX
Spring ModeC
Cloth Mode
-
W
S
A
D
Move camera up / down / left / rightQ
E
Move camera closer / farther
-
T
PauseR
Resume
-
MOUSE_BUTTON_LEFT
Click to apply wind force↑
↓
←
→
Apply wind force
-
O
Free left pinP
Free right pin
-
- GLAD
- glfw
- glew
- glTools
-
- glm
-
struct Vec2
struct Vec3
-
struct Vertex
- A simple type of points with only position and normal data
- Used in rigid body (without texture or anything else)
class Node
- Point with physical properties.
- Used in cloth.
- Execute collision detection actively.
-
class Spring
-
class Cloth
-
struct Ground
class Sphere
struct Ball
-
class Program
-
struct Camera
struct Light
struct ClothRender
struct SpringRender
struct ClothSpringRender
struct RigidRender
struct GroundRender
struct BallRender