replace manual 3d-2d projection with orbital camera
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
constexpr int WIDTH = 800;
|
||||
constexpr int HEIGHT = 800;
|
||||
|
||||
constexpr float VERTEX_SIZE = 50.0;
|
||||
constexpr float VERTEX_SIZE = 0.1;
|
||||
constexpr Color VERTEX_COLOR = GREEN;
|
||||
constexpr Color EDGE_COLOR = DARKGREEN;
|
||||
|
||||
@ -18,7 +18,7 @@ constexpr float CULLING_TOLERANCE = 0.1; // percentage
|
||||
constexpr float DEFAULT_SPRING_CONSTANT = 1.5;
|
||||
constexpr float DEFAULT_DAMPENING_CONSTANT = 0.1;
|
||||
constexpr float DEFAULT_REST_LENGTH = 0.5;
|
||||
constexpr float DEFAULT_REPULSION_FORCE = 0.002;
|
||||
constexpr float DEFAULT_REPULSION_FORCE = 0.01;
|
||||
|
||||
constexpr int BOARD_PADDING = 5;
|
||||
constexpr int BLOCK_PADDING = 5;
|
||||
|
||||
Reference in New Issue
Block a user