Commit Graph

31 Commits (dc2e50bb7fb4cc494e01e8454ac45644fde46deb)

Author SHA1 Message Date
Vectozavr 532990ec94 small refactoring 2022-02-23 11:51:53 +07:00
Neirokan 57203991be Move push/pop GL state calls
You can place it around your OpenGL code too.
2021-11-06 00:34:13 +03:00
Vectozavr 556ca037ec optimizations with converting mesh to GLFloatArray 2021-11-06 03:55:42 +07:00
Vectozavr b0559caac3 small optimizations with Triangle.cpp (normal vector calculated once in constructor) 2021-11-06 03:14:12 +07:00
Vectozavr cc0f0022aa pushGLStates & popGLStates optimizations 2021-11-06 01:55:34 +07:00
Vectozavr a68a28313c pushGLStates & popGLStates optimizations 2021-11-06 01:28:04 +07:00
Vectozavr a3124306bd add switching between opengl and pure programming render mode 2021-11-05 17:16:00 +07:00
Vectozavr 5f05a7cb23 Screen refactor. To accelerate engine the lighting turned off 2021-11-05 04:05:06 +07:00
Vectozavr e6590a013c
Merge branch 'master' into optimize 2021-11-04 16:21:16 +07:00
Vectozavr c12fcc857d HitBox added. acceleration of collision detection in 20 times. 2021-11-04 13:05:21 +07:00
Neirokan bd013c5e43 replace malloc/free with new/delete 2021-11-04 04:32:15 +03:00
Vectozavr 762fae3da4 add visualization of cpu time usage (set SHOW_DEBUG_INFO = true) 2021-11-03 16:25:09 +07:00
Vectozavr a8fafbdaec add visualization of cpu time usage (set SHOW_DEBUG_INFO = true) 2021-11-03 15:19:01 +07:00
Vectozavr fe71ab92b0 Visual Studio refactoring 2021-10-31 23:01:06 +07:00
Vectozavr d2ced42562 Visual Studio refactoring 2021-10-31 17:00:38 +07:00
Vectozavr 785850ec43 code refactoring 2021-10-31 15:39:08 +07:00
Vectozavr 61341d1b05 Huge refactoring v3 2021-10-30 16:39:44 +07:00
Vectozavr 8f03c3226d Huge refactoring v3 2021-10-30 03:44:37 +07:00
Vectozavr 870842b682 Huge refactoring v3 2021-10-28 20:58:02 +07:00
Vectozavr e471795290 OpenGL graphics acceleration support! 2021-10-22 23:42:32 +07:00
Vectozavr dd5a9f3ef2 Code refactoring. 2021-10-17 23:38:16 +07:00
Vectozavr 3cbe93c6c0 Move Solver to RigidBody. 2021-10-17 12:35:12 +07:00
Vectozavr d3684f8aa6 Point4D & Triangle now are completely immutable.
- Deleted operator= for Point4D and Triangle
- Add Vec3D & Vec2D to substitute Point4D in cases where we dont need 4 dimensions. Vec3D & Vec2D are immutable.
- Small refactoring of EPA & GJK in RigidBody.cpp
2021-10-12 21:12:47 +07:00
Vectozavr 758685fe57 OS Windows support 2021-10-09 17:41:12 +07:00
Vectozavr 122d30a980 struct Button -> class Button 2021-10-03 11:47:05 +07:00
Vectozavr 73279d1d23 Animation refactoring: now we have 1 common timeline with huge list of animation. 2021-10-03 01:17:03 +07:00
Vectozavr 8a0221ed77 super huge code refactoring 2021-10-03 00:36:07 +07:00
Vectozavr 5a1c9d8f67 1) Create PlayerController
2) Split Screen.cpp into (Screen.cpp & Keyboard.cpp & Mouse.cpp)
2021-09-19 19:44:31 +07:00
Vectozavr be42d4d9bc Made Triangle immutable
Correct inheritance (Objects -> Mesh & Camera -> RigidBody)
Small code refactor
2021-09-19 15:25:10 +07:00
Vectozavr 17a307c45e Point4D & Matrix4x4 is not mutable.
Delete a lot of not used methods.
Shared ptr corrected mistakes.
2021-09-14 17:47:53 +07:00
Vectozavr 7e5c96c123 Initial commit 2021-09-13 19:53:43 +07:00