From c7dad1e929c0101386fbcdaa194e402d68f74752 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 23 Aug 2017 22:56:53 +0100 Subject: Updating docs --- ...82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html | 339 ++++++++++ 3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.js | 15 + 3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html | 356 +++++++++++ 3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.js | 16 + ...81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html | 339 ++++++++++ 3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.js | 15 + 3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html | 356 +++++++++++ 3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.js | 16 + README_8md.html | 100 +++ annotated.html | 69 ++- annotated_dup.js | 4 + body_8cpp.html | 111 ++++ body_8hpp.html | 118 ++++ body_8hpp_source.html | 61 +- camera2d_8cpp.html | 111 ++++ camera2d_8hpp.html | 120 ++++ camera2d_8hpp_source.html | 54 +- classes.html | 66 +- classyage_1_1Body-members.html | 114 ++++ classyage_1_1Body.html | 454 ++++++++++++++ classyage_1_1Body.js | 15 + classyage_1_1Body.png | Bin 0 -> 1112 bytes classyage_1_1Camera2D-members.html | 110 ++++ classyage_1_1Camera2D.html | 310 +++++++++ classyage_1_1Camera2D.js | 11 + classyage_1_1Collider-members.html | 107 ++++ classyage_1_1Collider.html | 274 ++++++++ classyage_1_1Collider.js | 8 + classyage_1_1Collider.png | Bin 0 -> 642 bytes classyage_1_1CollisionBody-members.html | 116 ++++ classyage_1_1CollisionBody.html | 199 ++++++ classyage_1_1CollisionBody.js | 5 + classyage_1_1CollisionBody.png | Bin 0 -> 560 bytes classyage_1_1GlslProgram-members.html | 119 ++++ classyage_1_1GlslProgram.html | 546 ++++++++++++++++ classyage_1_1GlslProgram.js | 20 + classyage_1_1Glyph-members.html | 53 +- classyage_1_1Glyph.html | 421 ++++++++++++- classyage_1_1Glyph.js | 16 + classyage_1_1ImageLoader-members.html | 103 +++ classyage_1_1ImageLoader.html | 142 +++++ classyage_1_1ImageLoader.js | 4 + classyage_1_1InputManager-members.html | 106 ++++ classyage_1_1InputManager.html | 203 ++++++ classyage_1_1InputManager.js | 7 + classyage_1_1IoManager-members.html | 103 +++ classyage_1_1IoManager.html | 152 +++++ classyage_1_1IoManager.js | 4 + classyage_1_1Matrix-members.html | 53 +- classyage_1_1Matrix.html | 482 ++++++++++++-- classyage_1_1Matrix.js | 18 + classyage_1_1ParticleBody-members.html | 115 ++++ classyage_1_1ParticleBody.html | 253 ++++++++ classyage_1_1ParticleBody.js | 6 + classyage_1_1ParticleBody.png | Bin 0 -> 801 bytes classyage_1_1RectangleCollider-members.html | 108 ++++ classyage_1_1RectangleCollider.html | 225 +++++++ classyage_1_1RectangleCollider.js | 6 + classyage_1_1RectangleCollider.png | Bin 0 -> 645 bytes classyage_1_1RenderBatch-members.html | 110 ++++ classyage_1_1RenderBatch.html | 333 ++++++++++ classyage_1_1RenderBatch.js | 11 + classyage_1_1ResourceManager-members.html | 104 ++++ classyage_1_1ResourceManager.html | 171 +++++ classyage_1_1ResourceManager.js | 5 + classyage_1_1RigidBody-members.html | 116 ++++ classyage_1_1RigidBody.html | 200 ++++++ classyage_1_1RigidBody.js | 4 + classyage_1_1RigidBody.png | Bin 0 -> 796 bytes classyage_1_1Sprite-members.html | 116 ++++ classyage_1_1Sprite.html | 489 +++++++++++++++ classyage_1_1Sprite.js | 17 + classyage_1_1SpriteBatch-members.html | 122 ++++ classyage_1_1SpriteBatch.html | 635 +++++++++++++++++++ classyage_1_1SpriteBatch.js | 23 + classyage_1_1TextureCache-members.html | 105 ++++ classyage_1_1TextureCache.html | 191 ++++++ classyage_1_1TextureCache.js | 6 + classyage_1_1Vector-members.html | 119 ++++ classyage_1_1Vector.html | 342 ++++++++++ classyage_1_1Vector.js | 9 + classyage_1_1Vector.png | Bin 0 -> 799 bytes classyage_1_1Vector2-members.html | 62 +- classyage_1_1Vector2.html | 362 ++++++++++- classyage_1_1Vector2.js | 11 + classyage_1_1Vector2.png | Bin 0 -> 1115 bytes classyage_1_1Window-members.html | 112 ++++ classyage_1_1Window.html | 387 ++++++++++++ classyage_1_1Window.js | 13 + classyage_1_1detail_1_1Row-members.html | 107 ++++ classyage_1_1detail_1_1Row.html | 271 ++++++++ classyage_1_1detail_1_1Row.js | 8 + collider_8hpp.html | 118 ++++ collider_8hpp_source.html | 49 +- collisionbody_8hpp.html | 118 ++++ collisionbody_8hpp_source.html | 48 +- dir_13e138d54eb8818da29c3992edef070a.html | 112 ++++ dir_13e138d54eb8818da29c3992edef070a.js | 7 + dir_4fef79e7177ba769987a8da36c892c5f.html | 106 ++++ dir_4fef79e7177ba769987a8da36c892c5f.js | 4 + dir_512ea7c65b563979d81d0ae4ea681b6d.html | 106 ++++ dir_512ea7c65b563979d81d0ae4ea681b6d.js | 4 + dir_5ac3a90c14a160db9539610948ce4998.html | 44 +- dir_5ac3a90c14a160db9539610948ce4998.js | 5 + dir_63772b626f2709090f0bdca0f40827b4.html | 115 ++++ dir_63772b626f2709090f0bdca0f40827b4.js | 7 + dir_68267d1309a1af8e8297ef4c3efbcdba.html | 75 ++- dir_68267d1309a1af8e8297ef4c3efbcdba.js | 18 + dir_8e90c754c88b453feb475845259c2098.html | 106 ++++ dir_8e90c754c88b453feb475845259c2098.js | 4 + dir_ad81410f9d1ae5b7784cd2823ee2ba40.html | 106 ++++ dir_ad81410f9d1ae5b7784cd2823ee2ba40.js | 4 + dir_b233a2caca2b45d5ef987dbbf49782d0.html | 59 +- dir_b233a2caca2b45d5ef987dbbf49782d0.js | 22 + dir_ceeb13f05ef08a93b94560931d2b9bf7.html | 106 ++++ dir_ceeb13f05ef08a93b94560931d2b9bf7.js | 4 + dir_d44c64559bbebec7f509842c48db8b23.html | 43 +- dir_d44c64559bbebec7f509842c48db8b23.js | 4 + dir_d5fb5e4b817e0b2df7871aa0bc9aec84.html | 108 ++++ dir_d5fb5e4b817e0b2df7871aa0bc9aec84.js | 5 + dir_dca1da725f00c9a5c5acf81d64d7440f.html | 108 ++++ dir_dca1da725f00c9a5c5acf81d64d7440f.js | 5 + dir_f562165b51c585c003877be645f219b5.html | 76 ++- dir_f562165b51c585c003877be645f219b5.js | 46 ++ docs_2README_8md.html | 100 +++ feature__tests_8c.html | 158 +++++ feature__tests_8c.js | 5 + feature__tests_8cxx.html | 158 +++++ feature__tests_8cxx.js | 5 + files.html | 127 +++- files.js | 7 + functions.html | 535 +++++++++++++++- functions_func.html | 358 ++++++++++- functions_rela.html | 100 +++ functions_vars.html | 290 ++++++++- globals.html | 249 ++++++++ globals_defs.html | 142 +++++ globals_func.html | 130 ++++ globals_vars.html | 125 ++++ glslprogram_8cpp.html | 113 ++++ glslprogram_8hpp.html | 119 ++++ glslprogram_8hpp_source.html | 58 +- hierarchy.html | 74 ++- hierarchy.js | 42 ++ imageloader_8cpp.html | 113 ++++ imageloader_8hpp.html | 119 ++++ imageloader_8hpp_source.html | 47 +- index.html | 34 +- inputmanager_8cpp.html | 110 ++++ inputmanager_8hpp.html | 118 ++++ inputmanager_8hpp_source.html | 48 +- iomanager_8cpp.html | 112 ++++ iomanager_8hpp.html | 119 ++++ iomanager_8hpp_source.html | 45 +- math_8hpp.html | 103 +++ math_8hpp_source.html | 43 +- matrix_8hpp.html | 101 ++- matrix_8hpp.js | 23 + matrix_8hpp_source.html | 90 ++- matrixtest_8cpp.html | 354 +++++++++++ matrixtest_8cpp.js | 11 + md_README.html | 46 +- md_docs_README.html | 36 +- menudata.js | 98 ++- namespacemembers.html | 81 ++- namespacemembers_enum.html | 100 +++ namespacemembers_eval.html | 109 ++++ namespacemembers_func.html | 61 +- namespacemembers_type.html | 100 +++ namespaces.html | 41 +- namespaces.js | 4 + namespaceyage.html | 689 +++++++++++++++++++++ namespaceyage.js | 30 + namespaceyage_1_1detail.html | 108 ++++ namespaceyage_1_1detail.js | 4 + namespaceyage_1_1matrix.html | 50 +- navtree.css | 146 +++++ navtree.js | 517 ++++++++++++++++ navtreedata.js | 46 ++ navtreeindex0.js | 253 ++++++++ navtreeindex1.js | 171 +++++ pages.html | 34 +- particlebody_8cpp.html | 112 ++++ particlebody_8hpp.html | 119 ++++ particlebody_8hpp_source.html | 54 +- particlebodytest_8cpp.html | 191 ++++++ particlebodytest_8cpp.js | 6 + physics_8hpp.html | 108 ++++ physics_8hpp_source.html | 49 +- picopng_8cpp.html | 117 ++++ picopng_8cpp.js | 4 + picopng_8hpp.html | 119 ++++ picopng_8hpp.js | 4 + picopng_8hpp_source.html | 44 +- rectanglecollider_8cpp.html | 110 ++++ rectanglecollider_8hpp.html | 119 ++++ rectanglecollider_8hpp_source.html | 49 +- resize.js | 114 ++++ resourcemanager_8cpp.html | 110 ++++ resourcemanager_8hpp.html | 120 ++++ resourcemanager_8hpp_source.html | 50 +- rigidbody_8cpp.html | 110 ++++ rigidbody_8hpp.html | 119 ++++ rigidbody_8hpp_source.html | 50 +- search/all_0.js | 7 +- search/all_1.js | 11 +- search/all_10.html | 26 + search/all_10.js | 20 + search/all_11.html | 26 + search/all_11.js | 19 + search/all_12.html | 26 + search/all_12.js | 18 + search/all_13.html | 26 + search/all_13.js | 8 + search/all_14.html | 26 + search/all_14.js | 18 + search/all_15.html | 26 + search/all_15.js | 11 + search/all_16.html | 26 + search/all_16.js | 6 + search/all_17.html | 26 + search/all_17.js | 12 + search/all_18.html | 26 + search/all_18.js | 8 + search/all_2.js | 24 +- search/all_3.js | 10 +- search/all_4.js | 3 +- search/all_5.js | 11 +- search/all_6.js | 15 +- search/all_7.js | 6 +- search/all_8.js | 21 +- search/all_9.js | 5 +- search/all_a.html | 26 + search/all_a.js | 5 + search/all_b.html | 26 + search/all_b.js | 17 + search/all_c.html | 26 + search/all_c.js | 5 + search/all_d.html | 26 + search/all_d.js | 16 + search/all_e.html | 26 + search/all_e.js | 15 + search/all_f.html | 26 + search/all_f.js | 4 + search/classes_0.js | 2 +- search/classes_1.js | 7 +- search/classes_2.js | 4 +- search/classes_3.html | 26 + search/classes_3.js | 6 + search/classes_4.html | 26 + search/classes_4.js | 6 + search/classes_5.html | 26 + search/classes_5.js | 5 + search/classes_6.html | 26 + search/classes_6.js | 8 + search/classes_7.html | 26 + search/classes_7.js | 5 + search/classes_8.html | 26 + search/classes_8.js | 5 + search/classes_9.html | 26 + search/classes_9.js | 4 + search/classes_a.html | 26 + search/classes_a.js | 9 + search/classes_b.html | 26 + search/classes_b.js | 4 + search/defines_0.html | 26 + search/defines_0.js | 4 + search/defines_1.html | 26 + search/defines_1.js | 5 + search/defines_2.html | 26 + search/defines_2.js | 4 + search/defines_3.html | 26 + search/defines_3.js | 4 + search/defines_4.html | 26 + search/defines_4.js | 4 + search/defines_5.html | 26 + search/defines_5.js | 5 + search/enums_0.html | 26 + search/enums_0.js | 4 + search/enumvalues_0.html | 26 + search/enumvalues_0.js | 4 + search/enumvalues_1.html | 26 + search/enumvalues_1.js | 4 + search/enumvalues_2.html | 26 + search/enumvalues_2.js | 4 + search/enumvalues_3.html | 26 + search/enumvalues_3.js | 4 + search/files_0.js | 3 +- search/files_1.html | 26 + search/files_1.js | 9 + search/files_2.html | 26 + search/files_2.js | 5 + search/files_3.html | 26 + search/files_3.js | 5 + search/files_4.html | 26 + search/files_4.js | 9 + search/files_5.html | 26 + search/files_5.js | 6 + search/files_6.html | 26 + search/files_6.js | 9 + search/files_7.html | 26 + search/files_7.js | 10 + search/files_8.html | 26 + search/files_8.js | 7 + search/files_9.html | 26 + search/files_9.js | 6 + search/files_a.html | 26 + search/files_a.js | 4 + search/files_b.html | 26 + search/files_b.js | 6 + search/files_c.html | 26 + search/files_c.js | 5 + search/functions_0.js | 3 +- search/functions_1.js | 5 +- search/functions_10.html | 26 + search/functions_10.js | 10 + search/functions_11.html | 26 + search/functions_11.js | 7 + search/functions_12.html | 26 + search/functions_12.js | 7 + search/functions_13.html | 26 + search/functions_13.js | 4 + search/functions_14.html | 26 + search/functions_14.js | 5 + search/functions_15.html | 26 + search/functions_15.js | 5 + search/functions_16.html | 26 + search/functions_16.js | 8 + search/functions_2.js | 13 +- search/functions_3.js | 5 +- search/functions_4.js | 2 +- search/functions_5.js | 9 +- search/functions_6.js | 4 +- search/functions_7.js | 4 +- search/functions_8.html | 26 + search/functions_8.js | 5 + search/functions_9.html | 26 + search/functions_9.js | 10 + search/functions_a.html | 26 + search/functions_a.js | 4 + search/functions_b.html | 26 + search/functions_b.js | 14 + search/functions_c.html | 26 + search/functions_c.js | 5 + search/functions_d.html | 26 + search/functions_d.js | 4 + search/functions_e.html | 26 + search/functions_e.js | 10 + search/functions_f.html | 26 + search/functions_f.js | 10 + search/namespaces_0.js | 4 +- search/related_0.html | 26 + search/related_0.js | 4 + search/searchdata.js | 28 +- search/typedefs_0.js | 2 +- search/variables_0.js | 4 +- search/variables_1.html | 26 + search/variables_1.js | 6 + search/variables_10.html | 26 + search/variables_10.js | 5 + search/variables_11.html | 26 + search/variables_11.js | 9 + search/variables_12.html | 26 + search/variables_12.js | 6 + search/variables_13.html | 26 + search/variables_13.js | 5 + search/variables_14.html | 26 + search/variables_14.js | 5 + search/variables_2.html | 26 + search/variables_2.js | 5 + search/variables_3.html | 26 + search/variables_3.js | 5 + search/variables_4.html | 26 + search/variables_4.js | 6 + search/variables_5.html | 26 + search/variables_5.js | 8 + search/variables_6.html | 26 + search/variables_6.js | 5 + search/variables_7.html | 26 + search/variables_7.js | 9 + search/variables_8.html | 26 + search/variables_8.js | 4 + search/variables_9.html | 26 + search/variables_9.js | 5 + search/variables_a.html | 26 + search/variables_a.js | 5 + search/variables_b.html | 26 + search/variables_b.js | 5 + search/variables_c.html | 26 + search/variables_c.js | 7 + search/variables_d.html | 26 + search/variables_d.js | 5 + search/variables_e.html | 26 + search/variables_e.js | 6 + search/variables_f.html | 26 + search/variables_f.js | 8 + sprite_8cpp.html | 113 ++++ sprite_8hpp.html | 120 ++++ sprite_8hpp_source.html | 57 +- spritebatch_8cpp.html | 112 ++++ spritebatch_8hpp.html | 126 ++++ spritebatch_8hpp_source.html | 74 ++- structyage_1_1Color-members.html | 108 ++++ structyage_1_1Color.html | 259 ++++++++ structyage_1_1Color.js | 9 + structyage_1_1Position-members.html | 106 ++++ structyage_1_1Position.html | 215 +++++++ structyage_1_1Position.js | 7 + structyage_1_1Texture-members.html | 105 ++++ structyage_1_1Texture.html | 161 +++++ structyage_1_1Texture.js | 6 + structyage_1_1UV-members.html | 106 ++++ structyage_1_1UV.html | 215 +++++++ structyage_1_1UV.js | 7 + structyage_1_1Vertex-members.html | 110 ++++ structyage_1_1Vertex.html | 364 +++++++++++ structyage_1_1Vertex.js | 11 + texture_8hpp.html | 118 ++++ texture_8hpp_source.html | 47 +- texturecache_8cpp.html | 111 ++++ texturecache_8hpp.html | 119 ++++ texturecache_8hpp_source.html | 49 +- vertex_8hpp.html | 124 ++++ vertex_8hpp_source.html | 66 +- window_8cpp.html | 113 ++++ window_8hpp.html | 129 ++++ window_8hpp.js | 10 + window_8hpp_source.html | 56 +- windowtest_8cpp.html | 169 +++++ windowtest_8cpp.js | 5 + yage_8hpp.html | 132 ++++ yage_8hpp.js | 5 + yage_8hpp_source.html | 56 +- yagetest_8cpp.html | 169 +++++ yagetest_8cpp.js | 5 + 435 files changed, 28834 insertions(+), 646 deletions(-) create mode 100644 3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html create mode 100644 3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.js create mode 100644 3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html create mode 100644 3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.js create mode 100644 3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html create mode 100644 3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.js create mode 100644 3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html create mode 100644 3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.js create mode 100644 README_8md.html create mode 100644 annotated_dup.js create mode 100644 body_8cpp.html create mode 100644 body_8hpp.html create mode 100644 camera2d_8cpp.html create mode 100644 camera2d_8hpp.html create mode 100644 classyage_1_1Body-members.html create mode 100644 classyage_1_1Body.html create mode 100644 classyage_1_1Body.js create mode 100644 classyage_1_1Body.png create mode 100644 classyage_1_1Camera2D-members.html create mode 100644 classyage_1_1Camera2D.html create mode 100644 classyage_1_1Camera2D.js create mode 100644 classyage_1_1Collider-members.html create mode 100644 classyage_1_1Collider.html create mode 100644 classyage_1_1Collider.js create mode 100644 classyage_1_1Collider.png create mode 100644 classyage_1_1CollisionBody-members.html create mode 100644 classyage_1_1CollisionBody.html create mode 100644 classyage_1_1CollisionBody.js create mode 100644 classyage_1_1CollisionBody.png create mode 100644 classyage_1_1GlslProgram-members.html create mode 100644 classyage_1_1GlslProgram.html create mode 100644 classyage_1_1GlslProgram.js create mode 100644 classyage_1_1Glyph.js create mode 100644 classyage_1_1ImageLoader-members.html create mode 100644 classyage_1_1ImageLoader.html create mode 100644 classyage_1_1ImageLoader.js create mode 100644 classyage_1_1InputManager-members.html create mode 100644 classyage_1_1InputManager.html create mode 100644 classyage_1_1InputManager.js create mode 100644 classyage_1_1IoManager-members.html create mode 100644 classyage_1_1IoManager.html create mode 100644 classyage_1_1IoManager.js create mode 100644 classyage_1_1Matrix.js create mode 100644 classyage_1_1ParticleBody-members.html create mode 100644 classyage_1_1ParticleBody.html create mode 100644 classyage_1_1ParticleBody.js create mode 100644 classyage_1_1ParticleBody.png create mode 100644 classyage_1_1RectangleCollider-members.html create mode 100644 classyage_1_1RectangleCollider.html create mode 100644 classyage_1_1RectangleCollider.js create mode 100644 classyage_1_1RectangleCollider.png create mode 100644 classyage_1_1RenderBatch-members.html create mode 100644 classyage_1_1RenderBatch.html create mode 100644 classyage_1_1RenderBatch.js create mode 100644 classyage_1_1ResourceManager-members.html create mode 100644 classyage_1_1ResourceManager.html create mode 100644 classyage_1_1ResourceManager.js create mode 100644 classyage_1_1RigidBody-members.html create mode 100644 classyage_1_1RigidBody.html create mode 100644 classyage_1_1RigidBody.js create mode 100644 classyage_1_1RigidBody.png create mode 100644 classyage_1_1Sprite-members.html create mode 100644 classyage_1_1Sprite.html create mode 100644 classyage_1_1Sprite.js create mode 100644 classyage_1_1SpriteBatch-members.html create mode 100644 classyage_1_1SpriteBatch.html create mode 100644 classyage_1_1SpriteBatch.js create mode 100644 classyage_1_1TextureCache-members.html create mode 100644 classyage_1_1TextureCache.html create mode 100644 classyage_1_1TextureCache.js create mode 100644 classyage_1_1Vector-members.html create mode 100644 classyage_1_1Vector.html create mode 100644 classyage_1_1Vector.js create mode 100644 classyage_1_1Vector.png create mode 100644 classyage_1_1Vector2.js create mode 100644 classyage_1_1Vector2.png create mode 100644 classyage_1_1Window-members.html create mode 100644 classyage_1_1Window.html create mode 100644 classyage_1_1Window.js create mode 100644 classyage_1_1detail_1_1Row-members.html create mode 100644 classyage_1_1detail_1_1Row.html create mode 100644 classyage_1_1detail_1_1Row.js create mode 100644 collider_8hpp.html create mode 100644 collisionbody_8hpp.html create mode 100644 dir_13e138d54eb8818da29c3992edef070a.html create mode 100644 dir_13e138d54eb8818da29c3992edef070a.js create mode 100644 dir_4fef79e7177ba769987a8da36c892c5f.html create mode 100644 dir_4fef79e7177ba769987a8da36c892c5f.js create mode 100644 dir_512ea7c65b563979d81d0ae4ea681b6d.html create mode 100644 dir_512ea7c65b563979d81d0ae4ea681b6d.js create mode 100644 dir_5ac3a90c14a160db9539610948ce4998.js create mode 100644 dir_63772b626f2709090f0bdca0f40827b4.html create mode 100644 dir_63772b626f2709090f0bdca0f40827b4.js create mode 100644 dir_68267d1309a1af8e8297ef4c3efbcdba.js create mode 100644 dir_8e90c754c88b453feb475845259c2098.html create mode 100644 dir_8e90c754c88b453feb475845259c2098.js create mode 100644 dir_ad81410f9d1ae5b7784cd2823ee2ba40.html create mode 100644 dir_ad81410f9d1ae5b7784cd2823ee2ba40.js create mode 100644 dir_b233a2caca2b45d5ef987dbbf49782d0.js create mode 100644 dir_ceeb13f05ef08a93b94560931d2b9bf7.html create mode 100644 dir_ceeb13f05ef08a93b94560931d2b9bf7.js create mode 100644 dir_d44c64559bbebec7f509842c48db8b23.js create mode 100644 dir_d5fb5e4b817e0b2df7871aa0bc9aec84.html create mode 100644 dir_d5fb5e4b817e0b2df7871aa0bc9aec84.js create mode 100644 dir_dca1da725f00c9a5c5acf81d64d7440f.html create mode 100644 dir_dca1da725f00c9a5c5acf81d64d7440f.js create mode 100644 dir_f562165b51c585c003877be645f219b5.js create mode 100644 docs_2README_8md.html create mode 100644 feature__tests_8c.html create mode 100644 feature__tests_8c.js create mode 100644 feature__tests_8cxx.html create mode 100644 feature__tests_8cxx.js create mode 100644 files.js create mode 100644 functions_rela.html create mode 100644 globals.html create mode 100644 globals_defs.html create mode 100644 globals_func.html create mode 100644 globals_vars.html create mode 100644 glslprogram_8cpp.html create mode 100644 glslprogram_8hpp.html create mode 100644 hierarchy.js create mode 100644 imageloader_8cpp.html create mode 100644 imageloader_8hpp.html create mode 100644 inputmanager_8cpp.html create mode 100644 inputmanager_8hpp.html create mode 100644 iomanager_8cpp.html create mode 100644 iomanager_8hpp.html create mode 100644 math_8hpp.html create mode 100644 matrix_8hpp.js create mode 100644 matrixtest_8cpp.html create mode 100644 matrixtest_8cpp.js create mode 100644 namespacemembers_enum.html create mode 100644 namespacemembers_eval.html create mode 100644 namespacemembers_type.html create mode 100644 namespaces.js create mode 100644 namespaceyage.html create mode 100644 namespaceyage.js create mode 100644 namespaceyage_1_1detail.html create mode 100644 namespaceyage_1_1detail.js create mode 100644 navtree.css create mode 100644 navtree.js create mode 100644 navtreedata.js create mode 100644 navtreeindex0.js create mode 100644 navtreeindex1.js create mode 100644 particlebody_8cpp.html create mode 100644 particlebody_8hpp.html create mode 100644 particlebodytest_8cpp.html create mode 100644 particlebodytest_8cpp.js create mode 100644 physics_8hpp.html create mode 100644 picopng_8cpp.html create mode 100644 picopng_8cpp.js create mode 100644 picopng_8hpp.html create mode 100644 picopng_8hpp.js create mode 100644 rectanglecollider_8cpp.html create mode 100644 rectanglecollider_8hpp.html create mode 100644 resize.js create mode 100644 resourcemanager_8cpp.html create mode 100644 resourcemanager_8hpp.html create mode 100644 rigidbody_8cpp.html create mode 100644 rigidbody_8hpp.html create mode 100644 search/all_10.html create mode 100644 search/all_10.js create mode 100644 search/all_11.html create mode 100644 search/all_11.js create mode 100644 search/all_12.html create mode 100644 search/all_12.js create mode 100644 search/all_13.html create mode 100644 search/all_13.js create mode 100644 search/all_14.html create mode 100644 search/all_14.js create mode 100644 search/all_15.html create mode 100644 search/all_15.js create mode 100644 search/all_16.html create mode 100644 search/all_16.js create mode 100644 search/all_17.html create mode 100644 search/all_17.js create mode 100644 search/all_18.html create mode 100644 search/all_18.js create mode 100644 search/all_a.html create mode 100644 search/all_a.js create mode 100644 search/all_b.html create mode 100644 search/all_b.js create mode 100644 search/all_c.html create mode 100644 search/all_c.js create mode 100644 search/all_d.html create mode 100644 search/all_d.js create mode 100644 search/all_e.html create mode 100644 search/all_e.js create mode 100644 search/all_f.html create mode 100644 search/all_f.js create mode 100644 search/classes_3.html create mode 100644 search/classes_3.js create mode 100644 search/classes_4.html create mode 100644 search/classes_4.js create mode 100644 search/classes_5.html create mode 100644 search/classes_5.js create mode 100644 search/classes_6.html create mode 100644 search/classes_6.js create mode 100644 search/classes_7.html create mode 100644 search/classes_7.js create mode 100644 search/classes_8.html create mode 100644 search/classes_8.js create mode 100644 search/classes_9.html create mode 100644 search/classes_9.js create mode 100644 search/classes_a.html create mode 100644 search/classes_a.js create mode 100644 search/classes_b.html create mode 100644 search/classes_b.js create mode 100644 search/defines_0.html create mode 100644 search/defines_0.js create mode 100644 search/defines_1.html create mode 100644 search/defines_1.js create mode 100644 search/defines_2.html create mode 100644 search/defines_2.js create mode 100644 search/defines_3.html create mode 100644 search/defines_3.js create mode 100644 search/defines_4.html create mode 100644 search/defines_4.js create mode 100644 search/defines_5.html create mode 100644 search/defines_5.js create mode 100644 search/enums_0.html create mode 100644 search/enums_0.js create mode 100644 search/enumvalues_0.html create mode 100644 search/enumvalues_0.js create mode 100644 search/enumvalues_1.html create mode 100644 search/enumvalues_1.js create mode 100644 search/enumvalues_2.html create mode 100644 search/enumvalues_2.js create mode 100644 search/enumvalues_3.html create mode 100644 search/enumvalues_3.js create mode 100644 search/files_1.html create mode 100644 search/files_1.js create mode 100644 search/files_2.html create mode 100644 search/files_2.js create mode 100644 search/files_3.html create mode 100644 search/files_3.js create mode 100644 search/files_4.html create mode 100644 search/files_4.js create mode 100644 search/files_5.html create mode 100644 search/files_5.js create mode 100644 search/files_6.html create mode 100644 search/files_6.js create mode 100644 search/files_7.html create mode 100644 search/files_7.js create mode 100644 search/files_8.html create mode 100644 search/files_8.js create mode 100644 search/files_9.html create mode 100644 search/files_9.js create mode 100644 search/files_a.html create mode 100644 search/files_a.js create mode 100644 search/files_b.html create mode 100644 search/files_b.js create mode 100644 search/files_c.html create mode 100644 search/files_c.js create mode 100644 search/functions_10.html create mode 100644 search/functions_10.js create mode 100644 search/functions_11.html create mode 100644 search/functions_11.js create mode 100644 search/functions_12.html create mode 100644 search/functions_12.js create mode 100644 search/functions_13.html create mode 100644 search/functions_13.js create mode 100644 search/functions_14.html create mode 100644 search/functions_14.js create mode 100644 search/functions_15.html create mode 100644 search/functions_15.js create mode 100644 search/functions_16.html create mode 100644 search/functions_16.js create mode 100644 search/functions_8.html create mode 100644 search/functions_8.js create mode 100644 search/functions_9.html create mode 100644 search/functions_9.js create mode 100644 search/functions_a.html create mode 100644 search/functions_a.js create mode 100644 search/functions_b.html create mode 100644 search/functions_b.js create mode 100644 search/functions_c.html create mode 100644 search/functions_c.js create mode 100644 search/functions_d.html create mode 100644 search/functions_d.js create mode 100644 search/functions_e.html create mode 100644 search/functions_e.js create mode 100644 search/functions_f.html create mode 100644 search/functions_f.js create mode 100644 search/related_0.html create mode 100644 search/related_0.js create mode 100644 search/variables_1.html create mode 100644 search/variables_1.js create mode 100644 search/variables_10.html create mode 100644 search/variables_10.js create mode 100644 search/variables_11.html create mode 100644 search/variables_11.js create mode 100644 search/variables_12.html create mode 100644 search/variables_12.js create mode 100644 search/variables_13.html create mode 100644 search/variables_13.js create mode 100644 search/variables_14.html create mode 100644 search/variables_14.js create mode 100644 search/variables_2.html create mode 100644 search/variables_2.js create mode 100644 search/variables_3.html create mode 100644 search/variables_3.js create mode 100644 search/variables_4.html create mode 100644 search/variables_4.js create mode 100644 search/variables_5.html create mode 100644 search/variables_5.js create mode 100644 search/variables_6.html create mode 100644 search/variables_6.js create mode 100644 search/variables_7.html create mode 100644 search/variables_7.js create mode 100644 search/variables_8.html create mode 100644 search/variables_8.js create mode 100644 search/variables_9.html create mode 100644 search/variables_9.js create mode 100644 search/variables_a.html create mode 100644 search/variables_a.js create mode 100644 search/variables_b.html create mode 100644 search/variables_b.js create mode 100644 search/variables_c.html create mode 100644 search/variables_c.js create mode 100644 search/variables_d.html create mode 100644 search/variables_d.js create mode 100644 search/variables_e.html create mode 100644 search/variables_e.js create mode 100644 search/variables_f.html create mode 100644 search/variables_f.js create mode 100644 sprite_8cpp.html create mode 100644 sprite_8hpp.html create mode 100644 spritebatch_8cpp.html create mode 100644 spritebatch_8hpp.html create mode 100644 structyage_1_1Color-members.html create mode 100644 structyage_1_1Color.html create mode 100644 structyage_1_1Color.js create mode 100644 structyage_1_1Position-members.html create mode 100644 structyage_1_1Position.html create mode 100644 structyage_1_1Position.js create mode 100644 structyage_1_1Texture-members.html create mode 100644 structyage_1_1Texture.html create mode 100644 structyage_1_1Texture.js create mode 100644 structyage_1_1UV-members.html create mode 100644 structyage_1_1UV.html create mode 100644 structyage_1_1UV.js create mode 100644 structyage_1_1Vertex-members.html create mode 100644 structyage_1_1Vertex.html create mode 100644 structyage_1_1Vertex.js create mode 100644 texture_8hpp.html create mode 100644 texturecache_8cpp.html create mode 100644 texturecache_8hpp.html create mode 100644 vertex_8hpp.html create mode 100644 window_8cpp.html create mode 100644 window_8hpp.html create mode 100644 window_8hpp.js create mode 100644 windowtest_8cpp.html create mode 100644 windowtest_8cpp.js create mode 100644 yage_8hpp.html create mode 100644 yage_8hpp.js create mode 100644 yagetest_8cpp.html create mode 100644 yagetest_8cpp.js diff --git a/3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html b/3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html new file mode 100644 index 00000000..b5ebd669 --- /dev/null +++ b/3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html @@ -0,0 +1,339 @@ + + + + + + + +YAGE: build/CMakeFiles/3.8.2/CompilerIdCXX/CMakeCXXCompilerId.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
CMakeCXXCompilerId.cpp File Reference
+
+
+ + + + + + + + + + + + + + + + +

+Macros

#define COMPILER_ID   ""
 
#define STRINGIFY_HELPER(X)   #X
 
#define STRINGIFY(X)   STRINGIFY_HELPER(X)
 
#define PLATFORM_ID
 
#define ARCHITECTURE_ID
 
#define DEC(n)
 
#define HEX(n)
 
+ + + +

+Functions

int main (int argc, char *argv[])
 
+ + + + + + + + + +

+Variables

char const * info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
 
char const * info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
 
char const * info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
 
const char * info_language_dialect_default
 
+

Macro Definition Documentation

+ +

◆ ARCHITECTURE_ID

+ +
+
+ + + + +
#define ARCHITECTURE_ID
+
+ +
+
+ +

◆ COMPILER_ID

+ +
+
+ + + + +
#define COMPILER_ID   ""
+
+ +
+
+ +

◆ DEC

+ +
+
+ + + + + + + + +
#define DEC( n)
+
+Value:
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
+
+
+ +

◆ HEX

+ +
+
+ + + + + + + + +
#define HEX( n)
+
+Value:
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
+
+
+ +

◆ PLATFORM_ID

+ +
+
+ + + + +
#define PLATFORM_ID
+
+ +
+
+ +

◆ STRINGIFY

+ +
+
+ + + + + + + + +
#define STRINGIFY( X)   STRINGIFY_HELPER(X)
+
+ +
+
+ +

◆ STRINGIFY_HELPER

+ +
+
+ + + + + + + + +
#define STRINGIFY_HELPER( X)   #X
+
+ +
+
+

Function Documentation

+ +

◆ main()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int argc,
char * argv[] 
)
+
+ +
+
+

Variable Documentation

+ +

◆ info_arch

+ +
+
+ + + + +
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
+
+ +
+
+ +

◆ info_compiler

+ +
+
+ + + + +
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
+
+ +
+
+ +

◆ info_language_dialect_default

+ +
+
+ + + + +
const char* info_language_dialect_default
+
+Initial value:
= "INFO" ":" "dialect_default["
"98"
"]"
+
+
+ +

◆ info_platform

+ +
+
+ + + + +
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
+
+ +
+
+
+
+ + + + diff --git a/3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.js b/3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.js new file mode 100644 index 00000000..34e9f6e9 --- /dev/null +++ b/3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.js @@ -0,0 +1,15 @@ +var 3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp = +[ + [ "ARCHITECTURE_ID", "3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#aba35d0d200deaeb06aee95ca297acb28", null ], + [ "COMPILER_ID", "3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a81dee0709ded976b2e0319239f72d174", null ], + [ "DEC", "3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#ad1280362da42492bbc11aa78cbf776ad", null ], + [ "HEX", "3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a46d5d95daa1bef867bd0179594310ed5", null ], + [ "PLATFORM_ID", "3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#adbc5372f40838899018fadbc89bd588b", null ], + [ "STRINGIFY", "3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a43e1cad902b6477bec893cb6430bd6c8", null ], + [ "STRINGIFY_HELPER", "3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d", null ], + [ "main", "3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97", null ], + [ "info_arch", "3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a59647e99d304ed33b15cb284c27ed391", null ], + [ "info_compiler", "3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a4b0efeb7a5d59313986b3a0390f050f6", null ], + [ "info_language_dialect_default", "3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a1ce162bad2fe6966ac8b33cc19e120b8", null ], + [ "info_platform", "3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a2321403dee54ee23f0c2fa849c60f7d4", null ] +]; \ No newline at end of file diff --git a/3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html b/3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html new file mode 100644 index 00000000..368e157b --- /dev/null +++ b/3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html @@ -0,0 +1,356 @@ + + + + + + + +YAGE: build/CMakeFiles/3.8.2/CompilerIdC/CMakeCCompilerId.c File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
CMakeCCompilerId.c File Reference
+
+
+ + + + + + + + + + + + + + + + + + +

+Macros

#define COMPILER_ID   ""
 
#define STRINGIFY_HELPER(X)   #X
 
#define STRINGIFY(X)   STRINGIFY_HELPER(X)
 
#define PLATFORM_ID
 
#define ARCHITECTURE_ID
 
#define DEC(n)
 
#define HEX(n)
 
#define C_DIALECT
 
+ + + +

+Functions

int main (int argc, char *argv[])
 
+ + + + + + + + + +

+Variables

char const * info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
 
char const * info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
 
char const * info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
 
const char * info_language_dialect_default
 
+

Macro Definition Documentation

+ +

◆ ARCHITECTURE_ID

+ +
+
+ + + + +
#define ARCHITECTURE_ID
+
+ +
+
+ +

◆ C_DIALECT

+ +
+
+ + + + +
#define C_DIALECT
+
+ +
+
+ +

◆ COMPILER_ID

+ +
+
+ + + + +
#define COMPILER_ID   ""
+
+ +
+
+ +

◆ DEC

+ +
+
+ + + + + + + + +
#define DEC( n)
+
+Value:
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
+
+
+ +

◆ HEX

+ +
+
+ + + + + + + + +
#define HEX( n)
+
+Value:
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
+
+
+ +

◆ PLATFORM_ID

+ +
+
+ + + + +
#define PLATFORM_ID
+
+ +
+
+ +

◆ STRINGIFY

+ +
+
+ + + + + + + + +
#define STRINGIFY( X)   STRINGIFY_HELPER(X)
+
+ +
+
+ +

◆ STRINGIFY_HELPER

+ +
+
+ + + + + + + + +
#define STRINGIFY_HELPER( X)   #X
+
+ +
+
+

Function Documentation

+ +

◆ main()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int argc,
char * argv[] 
)
+
+ +
+
+

Variable Documentation

+ +

◆ info_arch

+ +
+
+ + + + +
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
+
+ +
+
+ +

◆ info_compiler

+ +
+
+ + + + +
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
+
+ +
+
+ +

◆ info_language_dialect_default

+ +
+
+ + + + +
const char* info_language_dialect_default
+
+Initial value:
=
"INFO" ":" "dialect_default[" C_DIALECT "]"
#define C_DIALECT
Definition: CMakeCCompilerId.c:524
+
+
+
+ +

◆ info_platform

+ +
+
+ + + + +
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
+
+ +
+
+
+
+ + + + diff --git a/3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.js b/3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.js new file mode 100644 index 00000000..0d14f037 --- /dev/null +++ b/3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.js @@ -0,0 +1,16 @@ +var 3_88_82_2CompilerIdC_2CMakeCCompilerId_8c = +[ + [ "ARCHITECTURE_ID", "3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28", null ], + [ "C_DIALECT", "3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a07f8e5783674099cd7f5110e22a78cdb", null ], + [ "COMPILER_ID", "3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174", null ], + [ "DEC", "3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad", null ], + [ "HEX", "3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5", null ], + [ "PLATFORM_ID", "3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b", null ], + [ "STRINGIFY", "3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8", null ], + [ "STRINGIFY_HELPER", "3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d", null ], + [ "main", "3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97", null ], + [ "info_arch", "3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391", null ], + [ "info_compiler", "3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6", null ], + [ "info_language_dialect_default", "3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a1ce162bad2fe6966ac8b33cc19e120b8", null ], + [ "info_platform", "3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4", null ] +]; \ No newline at end of file diff --git a/3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html b/3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html new file mode 100644 index 00000000..86a98e15 --- /dev/null +++ b/3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html @@ -0,0 +1,339 @@ + + + + + + + +YAGE: build/CMakeFiles/3.9.1/CompilerIdCXX/CMakeCXXCompilerId.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
CMakeCXXCompilerId.cpp File Reference
+
+
+ + + + + + + + + + + + + + + + +

+Macros

#define COMPILER_ID   ""
 
#define STRINGIFY_HELPER(X)   #X
 
#define STRINGIFY(X)   STRINGIFY_HELPER(X)
 
#define PLATFORM_ID
 
#define ARCHITECTURE_ID
 
#define DEC(n)
 
#define HEX(n)
 
+ + + +

+Functions

int main (int argc, char *argv[])
 
+ + + + + + + + + +

+Variables

char const * info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
 
char const * info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
 
char const * info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
 
const char * info_language_dialect_default
 
+

Macro Definition Documentation

+ +

◆ ARCHITECTURE_ID

+ +
+
+ + + + +
#define ARCHITECTURE_ID
+
+ +
+
+ +

◆ COMPILER_ID

+ +
+
+ + + + +
#define COMPILER_ID   ""
+
+ +
+
+ +

◆ DEC

+ +
+
+ + + + + + + + +
#define DEC( n)
+
+Value:
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
+
+
+ +

◆ HEX

+ +
+
+ + + + + + + + +
#define HEX( n)
+
+Value:
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
+
+
+ +

◆ PLATFORM_ID

+ +
+
+ + + + +
#define PLATFORM_ID
+
+ +
+
+ +

◆ STRINGIFY

+ +
+
+ + + + + + + + +
#define STRINGIFY( X)   STRINGIFY_HELPER(X)
+
+ +
+
+ +

◆ STRINGIFY_HELPER

+ +
+
+ + + + + + + + +
#define STRINGIFY_HELPER( X)   #X
+
+ +
+
+

Function Documentation

+ +

◆ main()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int argc,
char * argv[] 
)
+
+ +
+
+

Variable Documentation

+ +

◆ info_arch

+ +
+
+ + + + +
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
+
+ +
+
+ +

◆ info_compiler

+ +
+
+ + + + +
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
+
+ +
+
+ +

◆ info_language_dialect_default

+ +
+
+ + + + +
const char* info_language_dialect_default
+
+Initial value:
= "INFO" ":" "dialect_default["
"98"
"]"
+
+
+ +

◆ info_platform

+ +
+
+ + + + +
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
+
+ +
+
+
+
+ + + + diff --git a/3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.js b/3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.js new file mode 100644 index 00000000..abff07a2 --- /dev/null +++ b/3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.js @@ -0,0 +1,15 @@ +var 3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp = +[ + [ "ARCHITECTURE_ID", "3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#aba35d0d200deaeb06aee95ca297acb28", null ], + [ "COMPILER_ID", "3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a81dee0709ded976b2e0319239f72d174", null ], + [ "DEC", "3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#ad1280362da42492bbc11aa78cbf776ad", null ], + [ "HEX", "3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a46d5d95daa1bef867bd0179594310ed5", null ], + [ "PLATFORM_ID", "3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#adbc5372f40838899018fadbc89bd588b", null ], + [ "STRINGIFY", "3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a43e1cad902b6477bec893cb6430bd6c8", null ], + [ "STRINGIFY_HELPER", "3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d", null ], + [ "main", "3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97", null ], + [ "info_arch", "3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a59647e99d304ed33b15cb284c27ed391", null ], + [ "info_compiler", "3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a4b0efeb7a5d59313986b3a0390f050f6", null ], + [ "info_language_dialect_default", "3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a1ce162bad2fe6966ac8b33cc19e120b8", null ], + [ "info_platform", "3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a2321403dee54ee23f0c2fa849c60f7d4", null ] +]; \ No newline at end of file diff --git a/3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html b/3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html new file mode 100644 index 00000000..16fd4b2c --- /dev/null +++ b/3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html @@ -0,0 +1,356 @@ + + + + + + + +YAGE: build/CMakeFiles/3.9.1/CompilerIdC/CMakeCCompilerId.c File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
CMakeCCompilerId.c File Reference
+
+
+ + + + + + + + + + + + + + + + + + +

+Macros

#define COMPILER_ID   ""
 
#define STRINGIFY_HELPER(X)   #X
 
#define STRINGIFY(X)   STRINGIFY_HELPER(X)
 
#define PLATFORM_ID
 
#define ARCHITECTURE_ID
 
#define DEC(n)
 
#define HEX(n)
 
#define C_DIALECT
 
+ + + +

+Functions

int main (int argc, char *argv[])
 
+ + + + + + + + + +

+Variables

char const * info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
 
char const * info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
 
char const * info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
 
const char * info_language_dialect_default
 
+

Macro Definition Documentation

+ +

◆ ARCHITECTURE_ID

+ +
+
+ + + + +
#define ARCHITECTURE_ID
+
+ +
+
+ +

◆ C_DIALECT

+ +
+
+ + + + +
#define C_DIALECT
+
+ +
+
+ +

◆ COMPILER_ID

+ +
+
+ + + + +
#define COMPILER_ID   ""
+
+ +
+
+ +

◆ DEC

+ +
+
+ + + + + + + + +
#define DEC( n)
+
+Value:
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
+
+
+ +

◆ HEX

+ +
+
+ + + + + + + + +
#define HEX( n)
+
+Value:
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
+
+
+ +

◆ PLATFORM_ID

+ +
+
+ + + + +
#define PLATFORM_ID
+
+ +
+
+ +

◆ STRINGIFY

+ +
+
+ + + + + + + + +
#define STRINGIFY( X)   STRINGIFY_HELPER(X)
+
+ +
+
+ +

◆ STRINGIFY_HELPER

+ +
+
+ + + + + + + + +
#define STRINGIFY_HELPER( X)   #X
+
+ +
+
+

Function Documentation

+ +

◆ main()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int argc,
char * argv[] 
)
+
+ +
+
+

Variable Documentation

+ +

◆ info_arch

+ +
+
+ + + + +
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
+
+ +
+
+ +

◆ info_compiler

+ +
+
+ + + + +
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
+
+ +
+
+ +

◆ info_language_dialect_default

+ +
+
+ + + + +
const char* info_language_dialect_default
+
+Initial value:
=
"INFO" ":" "dialect_default[" C_DIALECT "]"
#define C_DIALECT
Definition: CMakeCCompilerId.c:524
+
+
+
+ +

◆ info_platform

+ +
+
+ + + + +
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
+
+ +
+
+
+
+ + + + diff --git a/3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.js b/3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.js new file mode 100644 index 00000000..480a9cf8 --- /dev/null +++ b/3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.js @@ -0,0 +1,16 @@ +var 3_89_81_2CompilerIdC_2CMakeCCompilerId_8c = +[ + [ "ARCHITECTURE_ID", "3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28", null ], + [ "C_DIALECT", "3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a07f8e5783674099cd7f5110e22a78cdb", null ], + [ "COMPILER_ID", "3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174", null ], + [ "DEC", "3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad", null ], + [ "HEX", "3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5", null ], + [ "PLATFORM_ID", "3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b", null ], + [ "STRINGIFY", "3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8", null ], + [ "STRINGIFY_HELPER", "3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d", null ], + [ "main", "3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97", null ], + [ "info_arch", "3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391", null ], + [ "info_compiler", "3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6", null ], + [ "info_language_dialect_default", "3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a1ce162bad2fe6966ac8b33cc19e120b8", null ], + [ "info_platform", "3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4", null ] +]; \ No newline at end of file diff --git a/README_8md.html b/README_8md.html new file mode 100644 index 00000000..eeb28392 --- /dev/null +++ b/README_8md.html @@ -0,0 +1,100 @@ + + + + + + + +YAGE: README.md File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
README.md File Reference
+
+
+
+
+ + + + diff --git a/annotated.html b/annotated.html index ade4b1ef..07cd7e79 100644 --- a/annotated.html +++ b/annotated.html @@ -9,6 +9,13 @@ + + + + + @@ -45,6 +52,20 @@ $(function() { +
+ +
+
+
+ +
Here are the classes, structs, unions and interfaces with brief descriptions:
-
[detail level 12]
- - - - +
[detail level 123]
 Nyage
 CGlyphGlyph with information of the texture
 CMatrixBase Matrix class used by other similar classes
 CVector22D Vector class
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 NyageTemplated matrix class
 Ndetail
 CRow
 CBody
 CCamera2D
 CCollider
 CCollisionBody
 CColor
 CGlslProgram
 CGlyphGlyph with information of the texture
 CImageLoader
 CInputManager
 CIoManager
 CMatrixBase Matrix class used by other similar classes
 CParticleBody
 CPosition
 CRectangleCollider
 CRenderBatch
 CResourceManager
 CRigidBody
 CSprite
 CSpriteBatch
 CTexture
 CTextureCache
 CUV
 CVector
 CVector22D Vector class
 CVertex
 CWindow
+
- + diff --git a/annotated_dup.js b/annotated_dup.js new file mode 100644 index 00000000..8ceb18ce --- /dev/null +++ b/annotated_dup.js @@ -0,0 +1,4 @@ +var annotated_dup = +[ + [ "yage", "namespaceyage.html", "namespaceyage" ] +]; \ No newline at end of file diff --git a/body_8cpp.html b/body_8cpp.html new file mode 100644 index 00000000..0fe5484b --- /dev/null +++ b/body_8cpp.html @@ -0,0 +1,111 @@ + + + + + + + +YAGE: src/body.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
body.cpp File Reference
+
+
+
#include <utility>
+#include "Physics/body.hpp"
+
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/body_8hpp.html b/body_8hpp.html new file mode 100644 index 00000000..13e8be67 --- /dev/null +++ b/body_8hpp.html @@ -0,0 +1,118 @@ + + + + + + + +YAGE: include/YAGE/Physics/body.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
body.hpp File Reference
+
+
+
#include "Math/matrix.hpp"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::Body
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/body_8hpp_source.html b/body_8hpp_source.html index 67fbda66..9aa062bd 100644 --- a/body_8hpp_source.html +++ b/body_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); +
+
+ +
+
+
+ +
- -
body.hpp
-
1 /* ----------------------------------------------------------------------------
2  * body.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_PHYSICS_BODY_HPP
10 #define YAGE_PHYSICS_BODY_HPP
11 
12 #include "Math/matrix.hpp"
13 
14 namespace yage {
15 class Body {
16 public:
17  // gravity constant
18  static const double GRAVITY;
19 
20 protected:
21  // center of mass of the object
22  Vector2d position_ = Vector2d(0, 0);
23 
24  // mass of the object
25  double mass_ = 1;
26 
27  // current velocity of the object
28  Vector2d velocity_ = Vector2d(0, 0);
29 
30  // boolean that defines if gravity can act on the object
31  bool gravity_ = true;
32 
33  // current acceleration
34  Vector2d acceleration_ = Vector2d(0, 0);
35 
36  // force acting on the body
37  Vector2d force_ = Vector2d(0, 0);
38 
39 public:
40  // apply force to the object and update the velocity
41  virtual void applyForce(const Vector2d& force) = 0;
42  virtual void update() = 0;
43 
44  double xPosition() const;
45  double yPosition() const;
46 
47 protected:
48  // protected constructor to initialize member variables
49  Body(const Vector2d& position = Vector2d(0, 0), double mass = 1, const Vector2d& velocity = Vector2d(0, 0), bool gravity = false);
50 };
51 } // namespace yage
52 
53 #endif
Templated matrix class.
-
Vector2< double > Vector2d
Definition of a 2D vector.
Definition: matrix.hpp:314
-
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * body.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_PHYSICS_BODY_HPP
10 #define YAGE_PHYSICS_BODY_HPP
11 
12 #include "Math/matrix.hpp"
13 
14 namespace yage {
15 class Body {
16 public:
17  // gravity constant
18  static const double GRAVITY;
19 
20 protected:
21  // center of mass of the object
23 
24  // mass of the object
25  double mass_ = 1;
26 
27  // current velocity of the object
29 
30  // boolean that defines if gravity can act on the object
31  bool gravity_ = true;
32 
33  // current acceleration
35 
36  // force acting on the body
38 
39 public:
40  // apply force to the object and update the velocity
41  virtual void applyForce(const Vector2d& force) = 0;
42  virtual void update() = 0;
43 
44  double xPosition() const;
45  double yPosition() const;
46 
47 protected:
48  // protected constructor to initialize member variables
49  Body(Vector2d position = Vector2d(0, 0), double mass = 1, Vector2d velocity = Vector2d(0, 0), bool gravity = false);
50 };
51 } // namespace yage
52 
53 #endif
bool gravity_
Definition: body.hpp:31
+
static const double GRAVITY
Definition: body.hpp:18
+
virtual void applyForce(const Vector2d &force)=0
+
Vector2d force_
Definition: body.hpp:37
+ + +
double xPosition() const
Definition: body.cpp:17
+
Definition: body.hpp:15
+
Body(Vector2d position=Vector2d(0, 0), double mass=1, Vector2d velocity=Vector2d(0, 0), bool gravity=false)
Definition: body.cpp:21
+
Vector2d velocity_
Definition: body.hpp:28
+
double yPosition() const
Definition: body.cpp:19
+
Vector2< double > Vector2d
Definition of a 2D vector.
Definition: matrix.hpp:316
+
Vector2d acceleration_
Definition: body.hpp:34
+
double mass_
Definition: body.hpp:25
+
virtual void update()=0
+
Templated matrix class.
Definition: camera2d.hpp:17
+
Vector2d position_
Definition: body.hpp:22
+
- + diff --git a/camera2d_8cpp.html b/camera2d_8cpp.html new file mode 100644 index 00000000..aa006083 --- /dev/null +++ b/camera2d_8cpp.html @@ -0,0 +1,111 @@ + + + + + + + +YAGE: src/camera2d.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
camera2d.cpp File Reference
+
+
+
#include "camera2d.hpp"
+#include <GL/glew.h>
+
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/camera2d_8hpp.html b/camera2d_8hpp.html new file mode 100644 index 00000000..3fe05b60 --- /dev/null +++ b/camera2d_8hpp.html @@ -0,0 +1,120 @@ + + + + + + + +YAGE: include/YAGE/camera2d.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
camera2d.hpp File Reference
+
+
+
#include "glslprogram.hpp"
+#include <glm/glm.hpp>
+#include <glm/gtc/matrix_transform.hpp>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::Camera2D
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/camera2d_8hpp_source.html b/camera2d_8hpp_source.html index 88e016c9..9033b153 100644 --- a/camera2d_8hpp_source.html +++ b/camera2d_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
camera2d.hpp
-
1 /* ----------------------------------------------------------------------------
2  * camera2d.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com>
5  * MIT License, see LICENSE file for more details.
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef CAMERA_2D_HPP
10 #define CAMERA_2D_HPP
11 
12 #include "glslprogram.hpp"
13 
14 #include <glm/glm.hpp>
15 #include <glm/gtc/matrix_transform.hpp>
16 
17 namespace yage {
18 
19 class Camera2D {
20 private:
21  bool matrix_needs_update_ = true;
22  float scale_ = 1;
23  glm::vec2 position_;
24  glm::mat4 camera_matrix_;
25  glm::mat4 ortho_matrix_;
26 
27 public:
28  Camera2D(int screen_width = 1280, int screen_height = 720);
29 
30  // update camera location
31  void update(GlslProgram& program);
32  // camera movement
33  void move(const glm::vec2& direction);
34 };
35 
36 } // yage
37 
38 #endif
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * camera2d.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com>
5  * MIT License, see LICENSE file for more details.
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef CAMERA_2D_HPP
10 #define CAMERA_2D_HPP
11 
12 #include "glslprogram.hpp"
13 
14 #include <glm/glm.hpp>
15 #include <glm/gtc/matrix_transform.hpp>
16 
17 namespace yage {
18 
19 class Camera2D {
20 private:
21  bool matrix_needs_update_ = true;
22  float scale_ = 1;
23  glm::vec2 position_;
24  glm::mat4 camera_matrix_;
25  glm::mat4 ortho_matrix_;
26 
27 public:
28  Camera2D(int screen_width = 1280, int screen_height = 720);
29 
30  // update camera location
31  void update(GlslProgram& program);
32  // camera movement
33  void move(const glm::vec2& direction);
34 };
35 
36 } // yage
37 
38 #endif
glm::mat4 ortho_matrix_
Definition: camera2d.hpp:25
+
float scale_
Definition: camera2d.hpp:22
+
bool matrix_needs_update_
Definition: camera2d.hpp:21
+
glm::mat4 camera_matrix_
Definition: camera2d.hpp:24
+
void update(GlslProgram &program)
Definition: camera2d.cpp:21
+
Definition: glslprogram.hpp:18
+ +
glm::vec2 position_
Definition: camera2d.hpp:23
+
Definition: camera2d.hpp:19
+
Templated matrix class.
Definition: camera2d.hpp:17
+
void move(const glm::vec2 &direction)
Definition: camera2d.cpp:36
+
Camera2D(int screen_width=1280, int screen_height=720)
Definition: camera2d.cpp:15
+
- + diff --git a/classes.html b/classes.html index 937f882f..36298a2e 100644 --- a/classes.html +++ b/classes.html @@ -9,6 +9,13 @@ + + + + + @@ -45,6 +52,20 @@ $(function() { +
+ +
+
+
+ +
Class Index
-
g | m | v
+
b | c | g | i | m | p | r | s | t | u | v | w
- + + + + + + + + - - - + + + +
  g  
-
  m  
+
  b  
+
Glyph (yage)   Position (yage)   SpriteBatch (yage)   Vector2 (yage)   
  i  
+
  r  
+
  t  
+
Vertex (yage)   
Body (yage)   
  w  
+
  c  
+
ImageLoader (yage)   RectangleCollider (yage)   Texture (yage)   
InputManager (yage)   RenderBatch (yage)   TextureCache (yage)   Window (yage)   
Camera2D (yage)   IoManager (yage)   ResourceManager (yage)   
  u  
+
Collider (yage)   
  m  
+
RigidBody (yage)   
CollisionBody (yage)   Row (yage::detail)   UV (yage)   
Color (yage)   Matrix (yage)   
  s  
  v  
Glyph (yage)   Matrix (yage)   Vector2 (yage)   
  g  
+
  p  
+
Sprite (yage)   Vector (yage)   
GlslProgram (yage)   ParticleBody (yage)   
-
g | m | v
+
b | c | g | i | m | p | r | s | t | u | v | w
+ - + diff --git a/classyage_1_1Body-members.html b/classyage_1_1Body-members.html new file mode 100644 index 00000000..c3427215 --- /dev/null +++ b/classyage_1_1Body-members.html @@ -0,0 +1,114 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::Body Member List
+
+
+ +

This is the complete list of members for yage::Body, including all inherited members.

+ + + + + + + + + + + + + +
acceleration_yage::Bodyprotected
applyForce(const Vector2d &force)=0yage::Bodypure virtual
Body(Vector2d position=Vector2d(0, 0), double mass=1, Vector2d velocity=Vector2d(0, 0), bool gravity=false)yage::Bodyprotected
force_yage::Bodyprotected
GRAVITYyage::Bodystatic
gravity_yage::Bodyprotected
mass_yage::Bodyprotected
position_yage::Bodyprotected
update()=0yage::Bodypure virtual
velocity_yage::Bodyprotected
xPosition() constyage::Body
yPosition() constyage::Body
+
+ + + + diff --git a/classyage_1_1Body.html b/classyage_1_1Body.html new file mode 100644 index 00000000..11dd3b7d --- /dev/null +++ b/classyage_1_1Body.html @@ -0,0 +1,454 @@ + + + + + + + +YAGE: yage::Body Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+ +

#include <body.hpp>

+
+Inheritance diagram for yage::Body:
+
+
+ + +yage::CollisionBody +yage::ParticleBody +yage::RigidBody + +
+ + + + + + + + + + +

+Public Member Functions

virtual void applyForce (const Vector2d &force)=0
 
virtual void update ()=0
 
double xPosition () const
 
double yPosition () const
 
+ + + +

+Static Public Attributes

static const double GRAVITY = -9.81
 
+ + + +

+Protected Member Functions

 Body (Vector2d position=Vector2d(0, 0), double mass=1, Vector2d velocity=Vector2d(0, 0), bool gravity=false)
 
+ + + + + + + + + + + + + +

+Protected Attributes

Vector2d position_ = Vector2d(0, 0)
 
double mass_ = 1
 
Vector2d velocity_ = Vector2d(0, 0)
 
bool gravity_ = true
 
Vector2d acceleration_ = Vector2d(0, 0)
 
Vector2d force_ = Vector2d(0, 0)
 
+

Constructor & Destructor Documentation

+ +

◆ Body()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
yage::Body::Body (Vector2d position = Vector2d(0, 0),
double mass = 1,
Vector2d velocity = Vector2d(0, 0),
bool gravity = false 
)
+
+protected
+
+ +
+
+

Member Function Documentation

+ +

◆ applyForce()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void yage::Body::applyForce (const Vector2dforce)
+
+pure virtual
+
+ +

Implemented in yage::ParticleBody.

+ +
+
+ +

◆ update()

+ +
+
+ + + + + +
+ + + + + + + +
virtual void yage::Body::update ()
+
+pure virtual
+
+ +

Implemented in yage::ParticleBody.

+ +
+
+ +

◆ xPosition()

+ +
+
+ + + + + + + +
double yage::Body::xPosition () const
+
+ +
+
+ +

◆ yPosition()

+ +
+
+ + + + + + + +
double yage::Body::yPosition () const
+
+ +
+
+

Member Data Documentation

+ +

◆ acceleration_

+ +
+
+ + + + + +
+ + + + +
Vector2d yage::Body::acceleration_ = Vector2d(0, 0)
+
+protected
+
+ +
+
+ +

◆ force_

+ +
+
+ + + + + +
+ + + + +
Vector2d yage::Body::force_ = Vector2d(0, 0)
+
+protected
+
+ +
+
+ +

◆ GRAVITY

+ +
+
+ + + + + +
+ + + + +
const double yage::Body::GRAVITY = -9.81
+
+static
+
+ +
+
+ +

◆ gravity_

+ +
+
+ + + + + +
+ + + + +
bool yage::Body::gravity_ = true
+
+protected
+
+ +
+
+ +

◆ mass_

+ +
+
+ + + + + +
+ + + + +
double yage::Body::mass_ = 1
+
+protected
+
+ +
+
+ +

◆ position_

+ +
+
+ + + + + +
+ + + + +
Vector2d yage::Body::position_ = Vector2d(0, 0)
+
+protected
+
+ +
+
+ +

◆ velocity_

+ +
+
+ + + + + +
+ + + + +
Vector2d yage::Body::velocity_ = Vector2d(0, 0)
+
+protected
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/classyage_1_1Body.js b/classyage_1_1Body.js new file mode 100644 index 00000000..960e0fb4 --- /dev/null +++ b/classyage_1_1Body.js @@ -0,0 +1,15 @@ +var classyage_1_1Body = +[ + [ "Body", "classyage_1_1Body.html#aeca769807d9b6f6fb3c9f61deaa83b86", null ], + [ "applyForce", "classyage_1_1Body.html#a56310be4f9d7d2d4e7f954af0e0a5878", null ], + [ "update", "classyage_1_1Body.html#a17017d183f3f9ecdff779fd6f82c5d36", null ], + [ "xPosition", "classyage_1_1Body.html#a8daaf95396e8e0c580fa3d94c9542289", null ], + [ "yPosition", "classyage_1_1Body.html#ac4e626792d726a12e0b461a6c0eff02d", null ], + [ "acceleration_", "classyage_1_1Body.html#a36c0a4485bf9a704901d88c6cf212a5f", null ], + [ "force_", "classyage_1_1Body.html#a262c896b473d7672cde524145cd7981d", null ], + [ "GRAVITY", "classyage_1_1Body.html#a4f61913cf00244a6160e09cda846f766", null ], + [ "gravity_", "classyage_1_1Body.html#a454a7c59d07c94afb0a35c3d53ec2191", null ], + [ "mass_", "classyage_1_1Body.html#a01b2a500e71bc88f2cb597f376bc8289", null ], + [ "position_", "classyage_1_1Body.html#a8fe4f244be47f1336a57c1f2aa095157", null ], + [ "velocity_", "classyage_1_1Body.html#afead7edec899748eab78879e6e6c5741", null ] +]; \ No newline at end of file diff --git a/classyage_1_1Body.png b/classyage_1_1Body.png new file mode 100644 index 00000000..4343e414 Binary files /dev/null and b/classyage_1_1Body.png differ diff --git a/classyage_1_1Camera2D-members.html b/classyage_1_1Camera2D-members.html new file mode 100644 index 00000000..7e015bf1 --- /dev/null +++ b/classyage_1_1Camera2D-members.html @@ -0,0 +1,110 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::Camera2D Member List
+
+
+ +

This is the complete list of members for yage::Camera2D, including all inherited members.

+ + + + + + + + + +
Camera2D(int screen_width=1280, int screen_height=720)yage::Camera2D
camera_matrix_yage::Camera2Dprivate
matrix_needs_update_yage::Camera2Dprivate
move(const glm::vec2 &direction)yage::Camera2D
ortho_matrix_yage::Camera2Dprivate
position_yage::Camera2Dprivate
scale_yage::Camera2Dprivate
update(GlslProgram &program)yage::Camera2D
+
+ + + + diff --git a/classyage_1_1Camera2D.html b/classyage_1_1Camera2D.html new file mode 100644 index 00000000..9a3650a2 --- /dev/null +++ b/classyage_1_1Camera2D.html @@ -0,0 +1,310 @@ + + + + + + + +YAGE: yage::Camera2D Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::Camera2D Class Reference
+
+
+ +

#include <camera2d.hpp>

+ + + + + + + + +

+Public Member Functions

 Camera2D (int screen_width=1280, int screen_height=720)
 
void update (GlslProgram &program)
 
void move (const glm::vec2 &direction)
 
+ + + + + + + + + + + +

+Private Attributes

bool matrix_needs_update_ = true
 
float scale_ = 1
 
glm::vec2 position_
 
glm::mat4 camera_matrix_
 
glm::mat4 ortho_matrix_
 
+

Constructor & Destructor Documentation

+ +

◆ Camera2D()

+ +
+
+ + + + + + + + + + + + + + + + + + +
yage::Camera2D::Camera2D (int screen_width = 1280,
int screen_height = 720 
)
+
+ +
+
+

Member Function Documentation

+ +

◆ move()

+ +
+
+ + + + + + + + +
void yage::Camera2D::move (const glm::vec2 & direction)
+
+ +
+
+ +

◆ update()

+ +
+
+ + + + + + + + +
void yage::Camera2D::update (GlslProgramprogram)
+
+ +
+
+

Member Data Documentation

+ +

◆ camera_matrix_

+ +
+
+ + + + + +
+ + + + +
glm::mat4 yage::Camera2D::camera_matrix_
+
+private
+
+ +
+
+ +

◆ matrix_needs_update_

+ +
+
+ + + + + +
+ + + + +
bool yage::Camera2D::matrix_needs_update_ = true
+
+private
+
+ +
+
+ +

◆ ortho_matrix_

+ +
+
+ + + + + +
+ + + + +
glm::mat4 yage::Camera2D::ortho_matrix_
+
+private
+
+ +
+
+ +

◆ position_

+ +
+
+ + + + + +
+ + + + +
glm::vec2 yage::Camera2D::position_
+
+private
+
+ +
+
+ +

◆ scale_

+ +
+
+ + + + + +
+ + + + +
float yage::Camera2D::scale_ = 1
+
+private
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/classyage_1_1Camera2D.js b/classyage_1_1Camera2D.js new file mode 100644 index 00000000..264b8439 --- /dev/null +++ b/classyage_1_1Camera2D.js @@ -0,0 +1,11 @@ +var classyage_1_1Camera2D = +[ + [ "Camera2D", "classyage_1_1Camera2D.html#a7ef3b02255622486ef8f396e2cb1ec4a", null ], + [ "move", "classyage_1_1Camera2D.html#a9c6d369978a4c142db3059f8d5a122b0", null ], + [ "update", "classyage_1_1Camera2D.html#addc194a43322262e7d102f212e5f5cf7", null ], + [ "camera_matrix_", "classyage_1_1Camera2D.html#a76e9d3623fd930530fbe6cdccc9b7707", null ], + [ "matrix_needs_update_", "classyage_1_1Camera2D.html#a84a0aeb53f0327e192b6e36ce24a41ea", null ], + [ "ortho_matrix_", "classyage_1_1Camera2D.html#ae557d3648deba40236fd696a17c7d7c4", null ], + [ "position_", "classyage_1_1Camera2D.html#af3eec769d8b57ec0f6d370f5f75a6eda", null ], + [ "scale_", "classyage_1_1Camera2D.html#abf1432e35cef0a54f35863f13a9d5448", null ] +]; \ No newline at end of file diff --git a/classyage_1_1Collider-members.html b/classyage_1_1Collider-members.html new file mode 100644 index 00000000..cd6494fc --- /dev/null +++ b/classyage_1_1Collider-members.html @@ -0,0 +1,107 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::Collider Member List
+
+
+ +

This is the complete list of members for yage::Collider, including all inherited members.

+ + + + + + +
Collider(const glm::vec2 &position, const glm::vec2 &size)yage::Colliderinline
collides(const Collider &collider) const =0yage::Colliderpure virtual
inside(const glm::vec2 &point) const =0yage::Colliderpure virtual
position_yage::Colliderprotected
size_yage::Colliderprotected
+
+ + + + diff --git a/classyage_1_1Collider.html b/classyage_1_1Collider.html new file mode 100644 index 00000000..c9696400 --- /dev/null +++ b/classyage_1_1Collider.html @@ -0,0 +1,274 @@ + + + + + + + +YAGE: yage::Collider Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::Collider Class Referenceabstract
+
+
+ +

#include <collider.hpp>

+
+Inheritance diagram for yage::Collider:
+
+
+ + +yage::RectangleCollider + +
+ + + + + + + + +

+Public Member Functions

 Collider (const glm::vec2 &position, const glm::vec2 &size)
 
virtual bool collides (const Collider &collider) const =0
 
virtual bool inside (const glm::vec2 &point) const =0
 
+ + + + + +

+Protected Attributes

glm::vec2 position_
 
glm::vec2 size_
 
+

Constructor & Destructor Documentation

+ +

◆ Collider()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
yage::Collider::Collider (const glm::vec2 & position,
const glm::vec2 & size 
)
+
+inline
+
+ +
+
+

Member Function Documentation

+ +

◆ collides()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool yage::Collider::collides (const Collidercollider) const
+
+pure virtual
+
+ +

Implemented in yage::RectangleCollider.

+ +
+
+ +

◆ inside()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool yage::Collider::inside (const glm::vec2 & point) const
+
+pure virtual
+
+ +

Implemented in yage::RectangleCollider.

+ +
+
+

Member Data Documentation

+ +

◆ position_

+ +
+
+ + + + + +
+ + + + +
glm::vec2 yage::Collider::position_
+
+protected
+
+ +
+
+ +

◆ size_

+ +
+
+ + + + + +
+ + + + +
glm::vec2 yage::Collider::size_
+
+protected
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/classyage_1_1Collider.js b/classyage_1_1Collider.js new file mode 100644 index 00000000..0935b310 --- /dev/null +++ b/classyage_1_1Collider.js @@ -0,0 +1,8 @@ +var classyage_1_1Collider = +[ + [ "Collider", "classyage_1_1Collider.html#ae33aeb0711409e7c3ef9e21ed99fa8a3", null ], + [ "collides", "classyage_1_1Collider.html#abbab9373c0805ffa5215c08b82eaed03", null ], + [ "inside", "classyage_1_1Collider.html#a4a8ad9e664a0015e023a70d196302fe9", null ], + [ "position_", "classyage_1_1Collider.html#a2ae348a82a0ca7a871c05f36e5031161", null ], + [ "size_", "classyage_1_1Collider.html#ad7456f84c1acb4fd9ee0ea67c8ee7308", null ] +]; \ No newline at end of file diff --git a/classyage_1_1Collider.png b/classyage_1_1Collider.png new file mode 100644 index 00000000..f00858b9 Binary files /dev/null and b/classyage_1_1Collider.png differ diff --git a/classyage_1_1CollisionBody-members.html b/classyage_1_1CollisionBody-members.html new file mode 100644 index 00000000..2eee14f7 --- /dev/null +++ b/classyage_1_1CollisionBody-members.html @@ -0,0 +1,116 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::CollisionBody Member List
+
+
+ +

This is the complete list of members for yage::CollisionBody, including all inherited members.

+ + + + + + + + + + + + + + + +
acceleration_yage::Bodyprotected
applyForce(const Vector2d &force)=0yage::Bodypure virtual
Body(Vector2d position=Vector2d(0, 0), double mass=1, Vector2d velocity=Vector2d(0, 0), bool gravity=false)yage::Bodyprotected
CollisionBody()yage::CollisionBody
force_yage::Bodyprotected
GRAVITYyage::Bodystatic
gravity_yage::Bodyprotected
mass_yage::Bodyprotected
position_yage::Bodyprotected
update()=0yage::Bodypure virtual
velocity_yage::Bodyprotected
xPosition() constyage::Body
yPosition() constyage::Body
~CollisionBody()yage::CollisionBodyvirtual
+
+ + + + diff --git a/classyage_1_1CollisionBody.html b/classyage_1_1CollisionBody.html new file mode 100644 index 00000000..81ee7640 --- /dev/null +++ b/classyage_1_1CollisionBody.html @@ -0,0 +1,199 @@ + + + + + + + +YAGE: yage::CollisionBody Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::CollisionBody Class Reference
+
+
+ +

#include <collisionbody.hpp>

+
+Inheritance diagram for yage::CollisionBody:
+
+
+ + +yage::Body + +
+ + + + + + + + + + + + + + + +

+Public Member Functions

 CollisionBody ()
 
virtual ~CollisionBody ()
 
- Public Member Functions inherited from yage::Body
virtual void applyForce (const Vector2d &force)=0
 
virtual void update ()=0
 
double xPosition () const
 
double yPosition () const
 
+ + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Attributes inherited from yage::Body
static const double GRAVITY = -9.81
 
- Protected Member Functions inherited from yage::Body
 Body (Vector2d position=Vector2d(0, 0), double mass=1, Vector2d velocity=Vector2d(0, 0), bool gravity=false)
 
- Protected Attributes inherited from yage::Body
Vector2d position_ = Vector2d(0, 0)
 
double mass_ = 1
 
Vector2d velocity_ = Vector2d(0, 0)
 
bool gravity_ = true
 
Vector2d acceleration_ = Vector2d(0, 0)
 
Vector2d force_ = Vector2d(0, 0)
 
+

Constructor & Destructor Documentation

+ +

◆ CollisionBody()

+ +
+
+ + + + + + + +
yage::CollisionBody::CollisionBody ()
+
+ +
+
+ +

◆ ~CollisionBody()

+ +
+
+ + + + + +
+ + + + + + + +
virtual yage::CollisionBody::~CollisionBody ()
+
+virtual
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/classyage_1_1CollisionBody.js b/classyage_1_1CollisionBody.js new file mode 100644 index 00000000..ceb8e524 --- /dev/null +++ b/classyage_1_1CollisionBody.js @@ -0,0 +1,5 @@ +var classyage_1_1CollisionBody = +[ + [ "CollisionBody", "classyage_1_1CollisionBody.html#a5289e613269facc45cd451872c17a83d", null ], + [ "~CollisionBody", "classyage_1_1CollisionBody.html#a758b2f867f276f4c7e02ebda2cd04c8b", null ] +]; \ No newline at end of file diff --git a/classyage_1_1CollisionBody.png b/classyage_1_1CollisionBody.png new file mode 100644 index 00000000..c297c566 Binary files /dev/null and b/classyage_1_1CollisionBody.png differ diff --git a/classyage_1_1GlslProgram-members.html b/classyage_1_1GlslProgram-members.html new file mode 100644 index 00000000..3f6e9854 --- /dev/null +++ b/classyage_1_1GlslProgram-members.html @@ -0,0 +1,119 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::GlslProgram Member List
+
+
+ +

This is the complete list of members for yage::GlslProgram, including all inherited members.

+ + + + + + + + + + + + + + + + + + +
addAttribute(const std::string &attribute_name)yage::GlslProgram
attribute_index_yage::GlslProgramprivate
compileShader(const GLuint &shader, const std::string &file_path)yage::GlslProgramprivate
compileShaders(const std::string &vertex_shader_path, const std::string &fragment_shader_path)yage::GlslProgram
fragment_shader_id_yage::GlslProgramprivate
getUniformLocation(const std::string &uniform_name)yage::GlslProgram
GlslProgram()=defaultyage::GlslProgram
GlslProgram(const GlslProgram &)=deleteyage::GlslProgram
GlslProgram(GlslProgram &&)=deleteyage::GlslProgram
linkShaders()yage::GlslProgram
operator=(const GlslProgram &)=deleteyage::GlslProgram
operator=(GlslProgram &&)=deleteyage::GlslProgram
program_id_yage::GlslProgramprivate
unuse()yage::GlslProgram
use()yage::GlslProgram
vertex_shader_id_yage::GlslProgramprivate
~GlslProgram()yage::GlslProgram
+
+ + + + diff --git a/classyage_1_1GlslProgram.html b/classyage_1_1GlslProgram.html new file mode 100644 index 00000000..b456bd5c --- /dev/null +++ b/classyage_1_1GlslProgram.html @@ -0,0 +1,546 @@ + + + + + + + +YAGE: yage::GlslProgram Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+ +

#include <glslprogram.hpp>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 GlslProgram ()=default
 
 GlslProgram (const GlslProgram &)=delete
 
 GlslProgram (GlslProgram &&)=delete
 
 ~GlslProgram ()
 
GlslProgramoperator= (const GlslProgram &)=delete
 
GlslProgramoperator= (GlslProgram &&)=delete
 
void compileShaders (const std::string &vertex_shader_path, const std::string &fragment_shader_path)
 compiles vertex and fragment shader More...
 
void linkShaders ()
 
void addAttribute (const std::string &attribute_name)
 
GLint getUniformLocation (const std::string &uniform_name)
 
void use ()
 
void unuse ()
 
+ + + + +

+Private Member Functions

void compileShader (const GLuint &shader, const std::string &file_path)
 compiles one shader More...
 
+ + + + + + + + + + +

+Private Attributes

GLuint program_id_ = 0
 compiled shader program id More...
 
GLuint vertex_shader_id_ = 0
 
GLuint fragment_shader_id_ = 0
 
int attribute_index_ = 0
 
+

Constructor & Destructor Documentation

+ +

◆ GlslProgram() [1/3]

+ +
+
+ + + + + +
+ + + + + + + +
yage::GlslProgram::GlslProgram ()
+
+default
+
+ +
+
+ +

◆ GlslProgram() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
yage::GlslProgram::GlslProgram (const GlslProgram)
+
+delete
+
+ +
+
+ +

◆ GlslProgram() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
yage::GlslProgram::GlslProgram (GlslProgram && )
+
+delete
+
+ +
+
+ +

◆ ~GlslProgram()

+ +
+
+ + + + + + + +
yage::GlslProgram::~GlslProgram ()
+
+ +
+
+

Member Function Documentation

+ +

◆ addAttribute()

+ +
+
+ + + + + + + + +
void yage::GlslProgram::addAttribute (const std::string & attribute_name)
+
+ +
+
+ +

◆ compileShader()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void yage::GlslProgram::compileShader (const GLuint & shader,
const std::string & file_path 
)
+
+private
+
+ +
+
+ +

◆ compileShaders()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void yage::GlslProgram::compileShaders (const std::string & vertex_shader_path,
const std::string & fragment_shader_path 
)
+
+ +
+
+ +

◆ getUniformLocation()

+ +
+
+ + + + + + + + +
GLint yage::GlslProgram::getUniformLocation (const std::string & uniform_name)
+
+ +
+
+ +

◆ linkShaders()

+ +
+
+ + + + + + + +
void yage::GlslProgram::linkShaders ()
+
+ +
+
+ +

◆ operator=() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
GlslProgram& yage::GlslProgram::operator= (const GlslProgram)
+
+delete
+
+ +
+
+ +

◆ operator=() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
GlslProgram& yage::GlslProgram::operator= (GlslProgram && )
+
+delete
+
+ +
+
+ +

◆ unuse()

+ +
+
+ + + + + + + +
void yage::GlslProgram::unuse ()
+
+ +
+
+ +

◆ use()

+ +
+
+ + + + + + + +
void yage::GlslProgram::use ()
+
+ +
+
+

Member Data Documentation

+ +

◆ attribute_index_

+ +
+
+ + + + + +
+ + + + +
int yage::GlslProgram::attribute_index_ = 0
+
+private
+
+ +
+
+ +

◆ fragment_shader_id_

+ +
+
+ + + + + +
+ + + + +
GLuint yage::GlslProgram::fragment_shader_id_ = 0
+
+private
+
+ +
+
+ +

◆ program_id_

+ +
+
+ + + + + +
+ + + + +
GLuint yage::GlslProgram::program_id_ = 0
+
+private
+
+ +
+
+ +

◆ vertex_shader_id_

+ +
+
+ + + + + +
+ + + + +
GLuint yage::GlslProgram::vertex_shader_id_ = 0
+
+private
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/classyage_1_1GlslProgram.js b/classyage_1_1GlslProgram.js new file mode 100644 index 00000000..9d3b1e87 --- /dev/null +++ b/classyage_1_1GlslProgram.js @@ -0,0 +1,20 @@ +var classyage_1_1GlslProgram = +[ + [ "GlslProgram", "classyage_1_1GlslProgram.html#a721b43cbdf82dbf68b3a4f3304a135c4", null ], + [ "GlslProgram", "classyage_1_1GlslProgram.html#a78268f78af00bcb2358d48bb010aa9fd", null ], + [ "GlslProgram", "classyage_1_1GlslProgram.html#af2cea717928baf5feed2ac5dc2a03290", null ], + [ "~GlslProgram", "classyage_1_1GlslProgram.html#a45676c850afad2717fd4119eb8c02ef7", null ], + [ "addAttribute", "classyage_1_1GlslProgram.html#a4e38b9f5daaf4b111b69e4d2900d4970", null ], + [ "compileShader", "classyage_1_1GlslProgram.html#a1acc7e052209fde74256c479af6d9988", null ], + [ "compileShaders", "classyage_1_1GlslProgram.html#acf57b56739f67ac88b0d5df3bf1d4cb1", null ], + [ "getUniformLocation", "classyage_1_1GlslProgram.html#a255ccbb1d94d17f2de62319efd4be91d", null ], + [ "linkShaders", "classyage_1_1GlslProgram.html#aed74ec6db4d2b02e1172bd5694eb1b27", null ], + [ "operator=", "classyage_1_1GlslProgram.html#a5af953324ac9f89aecf7e0a73a9467ad", null ], + [ "operator=", "classyage_1_1GlslProgram.html#a0de6e3d7c8e39357c7b0f91d85b21fb2", null ], + [ "unuse", "classyage_1_1GlslProgram.html#a2afa98cbf5d25b634e01b863c33fcf8f", null ], + [ "use", "classyage_1_1GlslProgram.html#a762b44540ef219ff39f784543fc162c3", null ], + [ "attribute_index_", "classyage_1_1GlslProgram.html#a55d4f797833c688be78c00882112e486", null ], + [ "fragment_shader_id_", "classyage_1_1GlslProgram.html#ad20ee225c8e981861923a2d7eeaf940f", null ], + [ "program_id_", "classyage_1_1GlslProgram.html#ad8f02beee9fdc3608d7aceebf3398e8b", null ], + [ "vertex_shader_id_", "classyage_1_1GlslProgram.html#afe46af121e9c0214be6f7b18660c5bc7", null ] +]; \ No newline at end of file diff --git a/classyage_1_1Glyph-members.html b/classyage_1_1Glyph-members.html index 1fd3edb0..3199a598 100644 --- a/classyage_1_1Glyph-members.html +++ b/classyage_1_1Glyph-members.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
yage::Glyph Member List
@@ -71,12 +88,28 @@ $(function() {

This is the complete list of members for yage::Glyph, including all inherited members.

+ + + + + + + + + + + + +
bottom_left() constyage::Glyphinline
bottom_left_yage::Glyphprivate
bottom_right() constyage::Glyphinline
bottom_right_yage::Glyphprivate
depth() constyage::Glyphinline
depth_yage::Glyphprivate
Glyph(GLuint texture, float depth, const Vertex &top_left, const Vertex &top_right, const Vertex &bottom_right, const Vertex &bottom_left)yage::Glyph
texture() constyage::Glyphinline
texture_yage::Glyphprivate
top_left() constyage::Glyphinline
top_left_yage::Glyphprivate
top_right() constyage::Glyphinline
top_right_yage::Glyphprivate
+ - + diff --git a/classyage_1_1Glyph.html b/classyage_1_1Glyph.html index 8952fe5a..f92a05ba 100644 --- a/classyage_1_1Glyph.html +++ b/classyage_1_1Glyph.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
yage::Glyph Class Reference
@@ -72,21 +91,393 @@ $(function() {

Glyph with information of the texture. - More...

+

#include <spritebatch.hpp>

-

Detailed Description

-

Glyph with information of the texture.

-

The documentation for this class was generated from the following files:
    + + + + + + + + + + + + + + + + +

    +Public Member Functions

     Glyph (GLuint texture, float depth, const Vertex &top_left, const Vertex &top_right, const Vertex &bottom_right, const Vertex &bottom_left)
     
    GLuint texture () const
     
    float depth () const
     
    Vertex top_left () const
     
    Vertex top_right () const
     
    Vertex bottom_right () const
     
    Vertex bottom_left () const
     
    + + + + + + + + + + + + + +

    +Private Attributes

    GLuint texture_
     
    float depth_
     
    Vertex top_left_
     
    Vertex top_right_
     
    Vertex bottom_right_
     
    Vertex bottom_left_
     
    +

    Constructor & Destructor Documentation

    + +

    ◆ Glyph()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    yage::Glyph::Glyph (GLuint texture,
    float depth,
    const Vertextop_left,
    const Vertextop_right,
    const Vertexbottom_right,
    const Vertexbottom_left 
    )
    +
    + +
    +
    +

    Member Function Documentation

    + +

    ◆ bottom_left()

    + +
    +
    + + + + + +
    + + + + + + + +
    Vertex yage::Glyph::bottom_left () const
    +
    +inline
    +
    + +
    +
    + +

    ◆ bottom_right()

    + +
    +
    + + + + + +
    + + + + + + + +
    Vertex yage::Glyph::bottom_right () const
    +
    +inline
    +
    + +
    +
    + +

    ◆ depth()

    + +
    +
    + + + + + +
    + + + + + + + +
    float yage::Glyph::depth () const
    +
    +inline
    +
    + +
    +
    + +

    ◆ texture()

    + +
    +
    + + + + + +
    + + + + + + + +
    GLuint yage::Glyph::texture () const
    +
    +inline
    +
    + +
    +
    + +

    ◆ top_left()

    + +
    +
    + + + + + +
    + + + + + + + +
    Vertex yage::Glyph::top_left () const
    +
    +inline
    +
    + +
    +
    + +

    ◆ top_right()

    + +
    +
    + + + + + +
    + + + + + + + +
    Vertex yage::Glyph::top_right () const
    +
    +inline
    +
    + +
    +
    +

    Member Data Documentation

    + +

    ◆ bottom_left_

    + +
    +
    + + + + + +
    + + + + +
    Vertex yage::Glyph::bottom_left_
    +
    +private
    +
    + +
    +
    + +

    ◆ bottom_right_

    + +
    +
    + + + + + +
    + + + + +
    Vertex yage::Glyph::bottom_right_
    +
    +private
    +
    + +
    +
    + +

    ◆ depth_

    + +
    +
    + + + + + +
    + + + + +
    float yage::Glyph::depth_
    +
    +private
    +
    + +
    +
    + +

    ◆ texture_

    + +
    +
    + + + + + +
    + + + + +
    GLuint yage::Glyph::texture_
    +
    +private
    +
    + +
    +
    + +

    ◆ top_left_

    + +
    +
    + + + + + +
    + + + + +
    Vertex yage::Glyph::top_left_
    +
    +private
    +
    + +
    +
    + +

    ◆ top_right_

    + +
    +
    + + + + + +
    + + + + +
    Vertex yage::Glyph::top_right_
    +
    +private
    +
    + +
    +
    +
    The documentation for this class was generated from the following files:
+
- + diff --git a/classyage_1_1Glyph.js b/classyage_1_1Glyph.js new file mode 100644 index 00000000..1047c4ad --- /dev/null +++ b/classyage_1_1Glyph.js @@ -0,0 +1,16 @@ +var classyage_1_1Glyph = +[ + [ "Glyph", "classyage_1_1Glyph.html#a19ae31e594b33bb1ad3bc1763cdba38f", null ], + [ "bottom_left", "classyage_1_1Glyph.html#a8d8150986db3f0985f1b5d9622f83854", null ], + [ "bottom_right", "classyage_1_1Glyph.html#a3db3e9cd03629c6c37a597d5779d1024", null ], + [ "depth", "classyage_1_1Glyph.html#ab1906273e09446d9f6ccdc0a06428afa", null ], + [ "texture", "classyage_1_1Glyph.html#af59de1a9642b07583d49197bc9d74747", null ], + [ "top_left", "classyage_1_1Glyph.html#a6a86e79419ccea7f6921685c197453a1", null ], + [ "top_right", "classyage_1_1Glyph.html#aac14f7258926c0c06ec594bc616ed5d0", null ], + [ "bottom_left_", "classyage_1_1Glyph.html#add70123a08d594e4cfb627a03ae8daad", null ], + [ "bottom_right_", "classyage_1_1Glyph.html#a6240a88991e31b2fc8ed5dccfc362234", null ], + [ "depth_", "classyage_1_1Glyph.html#ab27b92a62dcebccae673a7d8d0c15704", null ], + [ "texture_", "classyage_1_1Glyph.html#a2efbe49c2307601731416d615ac415c8", null ], + [ "top_left_", "classyage_1_1Glyph.html#a71c5c3381928153e3eb2f67461b76a2d", null ], + [ "top_right_", "classyage_1_1Glyph.html#a9db1936e683cafe3b6ef72f63b3241fa", null ] +]; \ No newline at end of file diff --git a/classyage_1_1ImageLoader-members.html b/classyage_1_1ImageLoader-members.html new file mode 100644 index 00000000..34da1be8 --- /dev/null +++ b/classyage_1_1ImageLoader-members.html @@ -0,0 +1,103 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::ImageLoader Member List
+
+
+ +

This is the complete list of members for yage::ImageLoader, including all inherited members.

+ + +
loadPng(const std::string &file_path)yage::ImageLoaderstatic
+
+ + + + diff --git a/classyage_1_1ImageLoader.html b/classyage_1_1ImageLoader.html new file mode 100644 index 00000000..0bd6b3f6 --- /dev/null +++ b/classyage_1_1ImageLoader.html @@ -0,0 +1,142 @@ + + + + + + + +YAGE: yage::ImageLoader Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::ImageLoader Class Reference
+
+
+ +

#include <imageloader.hpp>

+ + + + +

+Static Public Member Functions

static Texture loadPng (const std::string &file_path)
 
+

Member Function Documentation

+ +

◆ loadPng()

+ +
+
+ + + + + +
+ + + + + + + + +
Texture yage::ImageLoader::loadPng (const std::string & file_path)
+
+static
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/classyage_1_1ImageLoader.js b/classyage_1_1ImageLoader.js new file mode 100644 index 00000000..566d4441 --- /dev/null +++ b/classyage_1_1ImageLoader.js @@ -0,0 +1,4 @@ +var classyage_1_1ImageLoader = +[ + [ "loadPng", "classyage_1_1ImageLoader.html#ad8dcdaaed43713f07723f2b6719d1b32", null ] +]; \ No newline at end of file diff --git a/classyage_1_1InputManager-members.html b/classyage_1_1InputManager-members.html new file mode 100644 index 00000000..b20e5807 --- /dev/null +++ b/classyage_1_1InputManager-members.html @@ -0,0 +1,106 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::InputManager Member List
+
+
+ +

This is the complete list of members for yage::InputManager, including all inherited members.

+ + + + + +
isKeyPressed(unsigned key) constyage::InputManager
key_map_yage::InputManagerprivate
keyPressed(unsigned key)yage::InputManager
keyReleased(unsigned key)yage::InputManager
+
+ + + + diff --git a/classyage_1_1InputManager.html b/classyage_1_1InputManager.html new file mode 100644 index 00000000..564cc7b0 --- /dev/null +++ b/classyage_1_1InputManager.html @@ -0,0 +1,203 @@ + + + + + + + +YAGE: yage::InputManager Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::InputManager Class Reference
+
+
+ +

#include <inputmanager.hpp>

+ + + + + + + + +

+Public Member Functions

void keyPressed (unsigned key)
 
void keyReleased (unsigned key)
 
bool isKeyPressed (unsigned key) const
 
+ + + +

+Private Attributes

std::unordered_map< unsigned, bool > key_map_
 
+

Member Function Documentation

+ +

◆ isKeyPressed()

+ +
+
+ + + + + + + + +
bool yage::InputManager::isKeyPressed (unsigned key) const
+
+ +
+
+ +

◆ keyPressed()

+ +
+
+ + + + + + + + +
void yage::InputManager::keyPressed (unsigned key)
+
+ +
+
+ +

◆ keyReleased()

+ +
+
+ + + + + + + + +
void yage::InputManager::keyReleased (unsigned key)
+
+ +
+
+

Member Data Documentation

+ +

◆ key_map_

+ +
+
+ + + + + +
+ + + + +
std::unordered_map<unsigned, bool> yage::InputManager::key_map_
+
+private
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/classyage_1_1InputManager.js b/classyage_1_1InputManager.js new file mode 100644 index 00000000..168d45aa --- /dev/null +++ b/classyage_1_1InputManager.js @@ -0,0 +1,7 @@ +var classyage_1_1InputManager = +[ + [ "isKeyPressed", "classyage_1_1InputManager.html#afc9124e171725c291f9a1b0ed670805e", null ], + [ "keyPressed", "classyage_1_1InputManager.html#aa5f6416a0277a33cf9afe74e16f156a5", null ], + [ "keyReleased", "classyage_1_1InputManager.html#aa420dbea2ae5e291b3fe9d8d3f9095d0", null ], + [ "key_map_", "classyage_1_1InputManager.html#a9a484e406a3713df30ad887abd8ae28c", null ] +]; \ No newline at end of file diff --git a/classyage_1_1IoManager-members.html b/classyage_1_1IoManager-members.html new file mode 100644 index 00000000..a0e8f0cb --- /dev/null +++ b/classyage_1_1IoManager-members.html @@ -0,0 +1,103 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::IoManager Member List
+
+
+ +

This is the complete list of members for yage::IoManager, including all inherited members.

+ + +
readFileToBuffer(const std::string &file_path, std::vector< unsigned char > &buffer)yage::IoManagerstatic
+
+ + + + diff --git a/classyage_1_1IoManager.html b/classyage_1_1IoManager.html new file mode 100644 index 00000000..3276464c --- /dev/null +++ b/classyage_1_1IoManager.html @@ -0,0 +1,152 @@ + + + + + + + +YAGE: yage::IoManager Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::IoManager Class Reference
+
+
+ +

#include <iomanager.hpp>

+ + + + +

+Static Public Member Functions

static bool readFileToBuffer (const std::string &file_path, std::vector< unsigned char > &buffer)
 
+

Member Function Documentation

+ +

◆ readFileToBuffer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool yage::IoManager::readFileToBuffer (const std::string & file_path,
std::vector< unsigned char > & buffer 
)
+
+static
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/classyage_1_1IoManager.js b/classyage_1_1IoManager.js new file mode 100644 index 00000000..c858e019 --- /dev/null +++ b/classyage_1_1IoManager.js @@ -0,0 +1,4 @@ +var classyage_1_1IoManager = +[ + [ "readFileToBuffer", "classyage_1_1IoManager.html#a75d13ca634df592e44e4152fedcd446d", null ] +]; \ No newline at end of file diff --git a/classyage_1_1Matrix-members.html b/classyage_1_1Matrix-members.html index 266b0cc6..3a5780c4 100644 --- a/classyage_1_1Matrix-members.html +++ b/classyage_1_1Matrix-members.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
yage::Matrix< Rows, Cols, Type > Member List
@@ -74,17 +91,27 @@ $(function() { begin()yage::Matrix< Rows, Cols, Type >inline colSize() constyage::Matrix< Rows, Cols, Type >inline data_yage::Matrix< Rows, Cols, Type >protected - end()yage::Matrix< Rows, Cols, Type >inline + detail::Row< Rows, Cols, Type > classyage::Matrix< Rows, Cols, Type >friend + end()yage::Matrix< Rows, Cols, Type >inline + getCol(int col) constyage::Matrix< Rows, Cols, Type >inline getRow(int row) constyage::Matrix< Rows, Cols, Type >inline Matrix()yage::Matrix< Rows, Cols, Type >inline - rowSize() constyage::Matrix< Rows, Cols, Type >inline - toString() constyage::Matrix< Rows, Cols, Type >inlinevirtual + Matrix(const std::vector< Type > &data)yage::Matrix< Rows, Cols, Type >inline + operator+=(const Matrix< Rows, Cols, Type > &rhs)yage::Matrix< Rows, Cols, Type >inline + operator-=(const Matrix< Rows, Cols, Type > &rhs)yage::Matrix< Rows, Cols, Type >inline + operator[](int row)yage::Matrix< Rows, Cols, Type >inline + operator[](int row) constyage::Matrix< Rows, Cols, Type >inline + rowSize() constyage::Matrix< Rows, Cols, Type >inline + toString() constyage::Matrix< Rows, Cols, Type >inlinevirtual
+ - + diff --git a/classyage_1_1Matrix.html b/classyage_1_1Matrix.html index 1b51e1bf..b1fe3830 100644 --- a/classyage_1_1Matrix.html +++ b/classyage_1_1Matrix.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
yage::Matrix< Rows, Cols, Type > Class Template Reference
@@ -80,49 +98,223 @@ $(function() { - - + + - - + + + + - - + + - - + + + + - - + + - - + + + + + + + + + +

Public Member Functions

Matrix ()
 Initializes the size of the data_ vector.
 Matrix ()
 Initializes the size of the data_ vector. More...
 
-int rowSize () const
 Returns the row size of the Matrix.
 Matrix (const std::vector< Type > &data)
 
int rowSize () const
 Returns the row size of the Matrix. More...
 
-int colSize () const
 Returns the column size of the Matrixxs.
int colSize () const
 Returns the column size of the Matrixxs. More...
 
Matrix< 1, Cols, Type > getRow (int row) const
 Return the row specified row as a Matrix with only one row. More...
 
-std::vector< Type >::iterator begin ()
 iterator support for begin
Matrix< Rows, 1, Type > getCol (int col) const
 
std::vector< Type >::iterator begin ()
 iterator support for begin More...
 
-std::vector< Type >::iterator end ()
 iterator support for end
std::vector< Type >::iterator end ()
 iterator support for end More...
 
-virtual std::string toString () const
 prints out the matrix, but can also be implemented by other classes to print data differently
virtual std::string toString () const
 prints out the matrix, but can also be implemented by other classes to print data differently More...
 
detail::Row< Rows, Cols, Type > operator[] (int row)
 
detail::Row< Rows, Cols, Type > operator[] (int row) const
 
Matrix< Rows, Cols, Type > & operator+= (const Matrix< Rows, Cols, Type > &rhs)
 
Matrix< Rows, Cols, Type > & operator-= (const Matrix< Rows, Cols, Type > &rhs)
 
- - + + +

Protected Attributes

-std::vector< Type > data_
 Vector containing the data of the matrix.
std::vector< Type > data_
 Vector containing the data of the matrix. More...
 
+ + +

+Friends

class detail::Row< Rows, Cols, Type >
 

Detailed Description

template<int Rows = 4, int Cols = 4, class Type = double>
class yage::Matrix< Rows, Cols, Type >

-

Base Matrix class used by other similar classes.

Matrix class

This is the base matrix class that can be used by all the other matrix like data structures.

-

Member Function Documentation

+

Constructor & Destructor Documentation

+ +

◆ Matrix() [1/2]

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + +
yage::Matrix< Rows, Cols, Type >::Matrix ()
+
+inline
+
+ +
+
+ +

◆ Matrix() [2/2]

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + + +
yage::Matrix< Rows, Cols, Type >::Matrix (const std::vector< Type > & data)
+
+inline
+
+ +
+
+

Member Function Documentation

+ +

◆ begin()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + +
std::vector<Type>::iterator yage::Matrix< Rows, Cols, Type >::begin ()
+
+inline
+
+ +
+
+ +

◆ colSize()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + +
int yage::Matrix< Rows, Cols, Type >::colSize () const
+
+inline
+
+ +
+
+ +

◆ end()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + +
std::vector<Type>::iterator yage::Matrix< Rows, Cols, Type >::end ()
+
+inline
+
+ +
+
+ +

◆ getCol()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + + +
Matrix<Rows, 1, Type> yage::Matrix< Rows, Cols, Type >::getCol (int col) const
+
+inline
+
+ +
+

◆ getRow()

@@ -148,8 +340,6 @@ template<int Rows = 4, int Cols = 4, class Type = double>
- -

Return the row specified row as a Matrix with only one row.

Parameters
@@ -158,17 +348,239 @@ template<int Rows = 4, int Cols = 4, class Type = double>

Returns the row that is specified by the row variables.

+ + + +

◆ operator+=()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+
[in]rowRow number to be returned
+ + + + +
+ + + + + + + + +
Matrix<Rows, Cols, Type>& yage::Matrix< Rows, Cols, Type >::operator+= (const Matrix< Rows, Cols, Type > & rhs)
+
+inline
+
+ +
+ + +

◆ operator-=()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + + +
Matrix<Rows, Cols, Type>& yage::Matrix< Rows, Cols, Type >::operator-= (const Matrix< Rows, Cols, Type > & rhs)
+
+inline
+
+ +
+
+ +

◆ operator[]() [1/2]

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + + +
detail::Row<Rows, Cols, Type> yage::Matrix< Rows, Cols, Type >::operator[] (int row)
+
+inline
+
+ +
+
+ +

◆ operator[]() [2/2]

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + + +
detail::Row<Rows, Cols, Type> yage::Matrix< Rows, Cols, Type >::operator[] (int row) const
+
+inline
+
+ +
+
+ +

◆ rowSize()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + +
int yage::Matrix< Rows, Cols, Type >::rowSize () const
+
+inline
+
+ +
+
+ +

◆ toString()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + +
virtual std::string yage::Matrix< Rows, Cols, Type >::toString () const
+
+inlinevirtual
+
+
+

Friends And Related Function Documentation

+ +

◆ detail::Row< Rows, Cols, Type >

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + +
friend class detail::Row< Rows, Cols, Type >
+
+friend
+
+ +
+
+

Member Data Documentation

+ +

◆ data_

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + +
std::vector<Type> yage::Matrix< Rows, Cols, Type >::data_
+
+protected
+
+

The documentation for this class was generated from the following file: + - + diff --git a/classyage_1_1Matrix.js b/classyage_1_1Matrix.js new file mode 100644 index 00000000..d3f10a5a --- /dev/null +++ b/classyage_1_1Matrix.js @@ -0,0 +1,18 @@ +var classyage_1_1Matrix = +[ + [ "Matrix", "classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad", null ], + [ "Matrix", "classyage_1_1Matrix.html#a191b02ff353d04f18779d4c84e20927b", null ], + [ "begin", "classyage_1_1Matrix.html#a83d77d3a40ced5e2b703a6d66b6e6055", null ], + [ "colSize", "classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a", null ], + [ "end", "classyage_1_1Matrix.html#a20ea5fe16d27ef15f775b5497cadc851", null ], + [ "getCol", "classyage_1_1Matrix.html#a2833adcae1e01f637eba251c5aee7888", null ], + [ "getRow", "classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08", null ], + [ "operator+=", "classyage_1_1Matrix.html#a8b7e0913efdb5e8c9ff39df4c4f36228", null ], + [ "operator-=", "classyage_1_1Matrix.html#acc2d0763f060c923ce53b37143d0a7bb", null ], + [ "operator[]", "classyage_1_1Matrix.html#a9dc57c60a19b805a41b8bfb951ce2fef", null ], + [ "operator[]", "classyage_1_1Matrix.html#ab15e9ff3285806dcb9748edb751b2315", null ], + [ "rowSize", "classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965", null ], + [ "toString", "classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7", null ], + [ "detail::Row< Rows, Cols, Type >", "classyage_1_1Matrix.html#ac06ebbb8e42e63b0707ef44561abcc2e", null ], + [ "data_", "classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed", null ] +]; \ No newline at end of file diff --git a/classyage_1_1ParticleBody-members.html b/classyage_1_1ParticleBody-members.html new file mode 100644 index 00000000..5770d55b --- /dev/null +++ b/classyage_1_1ParticleBody-members.html @@ -0,0 +1,115 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::ParticleBody Member List
+
+
+ +

This is the complete list of members for yage::ParticleBody, including all inherited members.

+ + + + + + + + + + + + + + +
acceleration_yage::Bodyprotected
applyForce(const Vector2d &force) override overrideyage::ParticleBodyvirtual
Body(Vector2d position=Vector2d(0, 0), double mass=1, Vector2d velocity=Vector2d(0, 0), bool gravity=false)yage::Bodyprotected
force_yage::Bodyprotected
GRAVITYyage::Bodystatic
gravity_yage::Bodyprotected
mass_yage::Bodyprotected
ParticleBody(const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=true)yage::ParticleBody
position_yage::Bodyprotected
update() override overrideyage::ParticleBodyvirtual
velocity_yage::Bodyprotected
xPosition() constyage::Body
yPosition() constyage::Body
+
+ + + + diff --git a/classyage_1_1ParticleBody.html b/classyage_1_1ParticleBody.html new file mode 100644 index 00000000..8f3b1235 --- /dev/null +++ b/classyage_1_1ParticleBody.html @@ -0,0 +1,253 @@ + + + + + + + +YAGE: yage::ParticleBody Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::ParticleBody Class Reference
+
+
+ +

#include <particlebody.hpp>

+
+Inheritance diagram for yage::ParticleBody:
+
+
+ + +yage::Body +yage::RigidBody + +
+ + + + + + + + + + + + + +

+Public Member Functions

 ParticleBody (const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=true)
 
void applyForce (const Vector2d &force) override override
 
void update () override override
 
- Public Member Functions inherited from yage::Body
double xPosition () const
 
double yPosition () const
 
+ + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Attributes inherited from yage::Body
static const double GRAVITY = -9.81
 
- Protected Member Functions inherited from yage::Body
 Body (Vector2d position=Vector2d(0, 0), double mass=1, Vector2d velocity=Vector2d(0, 0), bool gravity=false)
 
- Protected Attributes inherited from yage::Body
Vector2d position_ = Vector2d(0, 0)
 
double mass_ = 1
 
Vector2d velocity_ = Vector2d(0, 0)
 
bool gravity_ = true
 
Vector2d acceleration_ = Vector2d(0, 0)
 
Vector2d force_ = Vector2d(0, 0)
 
+

Constructor & Destructor Documentation

+ +

◆ ParticleBody()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
yage::ParticleBody::ParticleBody (const Vector2dposition = Vector2d(0, 0),
double mass = 1,
const Vector2dvelocity = Vector2d(0, 0),
bool gravity = true 
)
+
+ +
+
+

Member Function Documentation

+ +

◆ applyForce()

+ +
+
+ + + + + +
+ + + + + + + + +
void yage::ParticleBody::applyForce (const Vector2dforce)
+
+overridevirtual
+
+ +

Implements yage::Body.

+ +
+
+ +

◆ update()

+ +
+
+ + + + + +
+ + + + + + + +
void yage::ParticleBody::update ()
+
+overridevirtual
+
+ +

Implements yage::Body.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/classyage_1_1ParticleBody.js b/classyage_1_1ParticleBody.js new file mode 100644 index 00000000..0029f765 --- /dev/null +++ b/classyage_1_1ParticleBody.js @@ -0,0 +1,6 @@ +var classyage_1_1ParticleBody = +[ + [ "ParticleBody", "classyage_1_1ParticleBody.html#ae20aad802b5620597d0521663061efc0", null ], + [ "applyForce", "classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425", null ], + [ "update", "classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d", null ] +]; \ No newline at end of file diff --git a/classyage_1_1ParticleBody.png b/classyage_1_1ParticleBody.png new file mode 100644 index 00000000..1df7c42f Binary files /dev/null and b/classyage_1_1ParticleBody.png differ diff --git a/classyage_1_1RectangleCollider-members.html b/classyage_1_1RectangleCollider-members.html new file mode 100644 index 00000000..ac8f5893 --- /dev/null +++ b/classyage_1_1RectangleCollider-members.html @@ -0,0 +1,108 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::RectangleCollider Member List
+
+
+ +

This is the complete list of members for yage::RectangleCollider, including all inherited members.

+ + + + + + + +
Collider(const glm::vec2 &position, const glm::vec2 &size)yage::Colliderinline
collides(const Collider &collider) const overrideyage::RectangleCollidervirtual
inside(const glm::vec2 &point) const overrideyage::RectangleColliderinlinevirtual
position_yage::Colliderprotected
RectangleCollider(const glm::vec2 &position, const glm::vec2 &size)yage::RectangleCollider
size_yage::Colliderprotected
+
+ + + + diff --git a/classyage_1_1RectangleCollider.html b/classyage_1_1RectangleCollider.html new file mode 100644 index 00000000..27023e38 --- /dev/null +++ b/classyage_1_1RectangleCollider.html @@ -0,0 +1,225 @@ + + + + + + + +YAGE: yage::RectangleCollider Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::RectangleCollider Class Reference
+
+
+ +

#include <rectanglecollider.hpp>

+
+Inheritance diagram for yage::RectangleCollider:
+
+
+ + +yage::Collider + +
+ + + + + + + + + + + +

+Public Member Functions

 RectangleCollider (const glm::vec2 &position, const glm::vec2 &size)
 
bool collides (const Collider &collider) const override
 
bool inside (const glm::vec2 &point) const override
 
- Public Member Functions inherited from yage::Collider
 Collider (const glm::vec2 &position, const glm::vec2 &size)
 
+ + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from yage::Collider
glm::vec2 position_
 
glm::vec2 size_
 
+

Constructor & Destructor Documentation

+ +

◆ RectangleCollider()

+ +
+
+ + + + + + + + + + + + + + + + + + +
yage::RectangleCollider::RectangleCollider (const glm::vec2 & position,
const glm::vec2 & size 
)
+
+ +
+
+

Member Function Documentation

+ +

◆ collides()

+ +
+
+ + + + + +
+ + + + + + + + +
bool yage::RectangleCollider::collides (const Collidercollider) const
+
+overridevirtual
+
+ +

Implements yage::Collider.

+ +
+
+ +

◆ inside()

+ +
+
+ + + + + +
+ + + + + + + + +
bool yage::RectangleCollider::inside (const glm::vec2 & point) const
+
+inlineoverridevirtual
+
+ +

Implements yage::Collider.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/classyage_1_1RectangleCollider.js b/classyage_1_1RectangleCollider.js new file mode 100644 index 00000000..e61e60ba --- /dev/null +++ b/classyage_1_1RectangleCollider.js @@ -0,0 +1,6 @@ +var classyage_1_1RectangleCollider = +[ + [ "RectangleCollider", "classyage_1_1RectangleCollider.html#af9e0964655073b0a190c9d06b449a969", null ], + [ "collides", "classyage_1_1RectangleCollider.html#a81e825cf009a437bc0f61b846cac66f6", null ], + [ "inside", "classyage_1_1RectangleCollider.html#ac8d8e6bdb12c21be12f7d398242147c4", null ] +]; \ No newline at end of file diff --git a/classyage_1_1RectangleCollider.png b/classyage_1_1RectangleCollider.png new file mode 100644 index 00000000..d6857b7c Binary files /dev/null and b/classyage_1_1RectangleCollider.png differ diff --git a/classyage_1_1RenderBatch-members.html b/classyage_1_1RenderBatch-members.html new file mode 100644 index 00000000..e28117b0 --- /dev/null +++ b/classyage_1_1RenderBatch-members.html @@ -0,0 +1,110 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::RenderBatch Member List
+
+
+ +

This is the complete list of members for yage::RenderBatch, including all inherited members.

+ + + + + + + + + +
num_vertices() constyage::RenderBatchinline
num_vertices_yage::RenderBatchprivate
offset() constyage::RenderBatchinline
offset_yage::RenderBatchprivate
RenderBatch(GLint offset, GLsizei num_vertices, GLuint texture)yage::RenderBatch
SpriteBatchyage::RenderBatchprivate
texture() constyage::RenderBatchinline
texture_yage::RenderBatchprivate
+
+ + + + diff --git a/classyage_1_1RenderBatch.html b/classyage_1_1RenderBatch.html new file mode 100644 index 00000000..da5db685 --- /dev/null +++ b/classyage_1_1RenderBatch.html @@ -0,0 +1,333 @@ + + + + + + + +YAGE: yage::RenderBatch Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::RenderBatch Class Reference
+
+
+ +

#include <spritebatch.hpp>

+ + + + + + + + + + +

+Public Member Functions

 RenderBatch (GLint offset, GLsizei num_vertices, GLuint texture)
 
GLint offset () const
 
GLsizei num_vertices () const
 
GLuint texture () const
 
+ + + + + + + + + +

+Private Attributes

friend SpriteBatch
 
GLsizei num_vertices_
 
GLint offset_
 
GLuint texture_
 
+

Constructor & Destructor Documentation

+ +

◆ RenderBatch()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
yage::RenderBatch::RenderBatch (GLint offset,
GLsizei num_vertices,
GLuint texture 
)
+
+ +
+
+

Member Function Documentation

+ +

◆ num_vertices()

+ +
+
+ + + + + +
+ + + + + + + +
GLsizei yage::RenderBatch::num_vertices () const
+
+inline
+
+ +
+
+ +

◆ offset()

+ +
+
+ + + + + +
+ + + + + + + +
GLint yage::RenderBatch::offset () const
+
+inline
+
+ +
+
+ +

◆ texture()

+ +
+
+ + + + + +
+ + + + + + + +
GLuint yage::RenderBatch::texture () const
+
+inline
+
+ +
+
+

Member Data Documentation

+ +

◆ num_vertices_

+ +
+
+ + + + + +
+ + + + +
GLsizei yage::RenderBatch::num_vertices_
+
+private
+
+ +
+
+ +

◆ offset_

+ +
+
+ + + + + +
+ + + + +
GLint yage::RenderBatch::offset_
+
+private
+
+ +
+
+ +

◆ SpriteBatch

+ +
+
+ + + + + +
+ + + + +
friend yage::RenderBatch::SpriteBatch
+
+private
+
+ +
+
+ +

◆ texture_

+ +
+
+ + + + + +
+ + + + +
GLuint yage::RenderBatch::texture_
+
+private
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/classyage_1_1RenderBatch.js b/classyage_1_1RenderBatch.js new file mode 100644 index 00000000..3097c696 --- /dev/null +++ b/classyage_1_1RenderBatch.js @@ -0,0 +1,11 @@ +var classyage_1_1RenderBatch = +[ + [ "RenderBatch", "classyage_1_1RenderBatch.html#a4a3a3180c63c51178871648d4c8e6853", null ], + [ "num_vertices", "classyage_1_1RenderBatch.html#ad5edaded9e6257aa2f3a3b7cae276307", null ], + [ "offset", "classyage_1_1RenderBatch.html#a6bedb60b10b6d47b7b198d3cb53eea2a", null ], + [ "texture", "classyage_1_1RenderBatch.html#a54102dde86a787d06d47928de8f72c3f", null ], + [ "num_vertices_", "classyage_1_1RenderBatch.html#a160bf0e089d392d26fd50935263762ba", null ], + [ "offset_", "classyage_1_1RenderBatch.html#a129b5fa960e1acc85650ce06b10905e7", null ], + [ "SpriteBatch", "classyage_1_1RenderBatch.html#ad12ecf32cf9f9244afa7e9ad15b4e78f", null ], + [ "texture_", "classyage_1_1RenderBatch.html#a17da9d35451d55766836917699406160", null ] +]; \ No newline at end of file diff --git a/classyage_1_1ResourceManager-members.html b/classyage_1_1ResourceManager-members.html new file mode 100644 index 00000000..89a09ba7 --- /dev/null +++ b/classyage_1_1ResourceManager-members.html @@ -0,0 +1,104 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::ResourceManager Member List
+
+
+ +

This is the complete list of members for yage::ResourceManager, including all inherited members.

+ + + +
getTexture(const std::string &texture_path)yage::ResourceManagerstatic
texture_cache_yage::ResourceManagerprivatestatic
+
+ + + + diff --git a/classyage_1_1ResourceManager.html b/classyage_1_1ResourceManager.html new file mode 100644 index 00000000..e8db36b8 --- /dev/null +++ b/classyage_1_1ResourceManager.html @@ -0,0 +1,171 @@ + + + + + + + +YAGE: yage::ResourceManager Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::ResourceManager Class Reference
+
+
+ +

#include <resourcemanager.hpp>

+ + + + +

+Static Public Member Functions

static Texture getTexture (const std::string &texture_path)
 
+ + + +

+Static Private Attributes

static TextureCache texture_cache_
 
+

Member Function Documentation

+ +

◆ getTexture()

+ +
+
+ + + + + +
+ + + + + + + + +
Texture yage::ResourceManager::getTexture (const std::string & texture_path)
+
+static
+
+ +
+
+

Member Data Documentation

+ +

◆ texture_cache_

+ +
+
+ + + + + +
+ + + + +
TextureCache yage::ResourceManager::texture_cache_
+
+staticprivate
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/classyage_1_1ResourceManager.js b/classyage_1_1ResourceManager.js new file mode 100644 index 00000000..de7a672b --- /dev/null +++ b/classyage_1_1ResourceManager.js @@ -0,0 +1,5 @@ +var classyage_1_1ResourceManager = +[ + [ "getTexture", "classyage_1_1ResourceManager.html#a36d805924374f27aa7dbce1d47795b25", null ], + [ "texture_cache_", "classyage_1_1ResourceManager.html#a2799a8ff957874fbe7b7c791781255f6", null ] +]; \ No newline at end of file diff --git a/classyage_1_1RigidBody-members.html b/classyage_1_1RigidBody-members.html new file mode 100644 index 00000000..b53fb1ce --- /dev/null +++ b/classyage_1_1RigidBody-members.html @@ -0,0 +1,116 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::RigidBody Member List
+
+
+ +

This is the complete list of members for yage::RigidBody, including all inherited members.

+ + + + + + + + + + + + + + + +
acceleration_yage::Bodyprotected
applyForce(const Vector2d &force) override overrideyage::ParticleBodyvirtual
Body(Vector2d position=Vector2d(0, 0), double mass=1, Vector2d velocity=Vector2d(0, 0), bool gravity=false)yage::Bodyprotected
force_yage::Bodyprotected
GRAVITYyage::Bodystatic
gravity_yage::Bodyprotected
mass_yage::Bodyprotected
ParticleBody(const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=true)yage::ParticleBody
position_yage::Bodyprotected
RigidBody(const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=true)yage::RigidBody
update() override overrideyage::ParticleBodyvirtual
velocity_yage::Bodyprotected
xPosition() constyage::Body
yPosition() constyage::Body
+
+ + + + diff --git a/classyage_1_1RigidBody.html b/classyage_1_1RigidBody.html new file mode 100644 index 00000000..5a19255b --- /dev/null +++ b/classyage_1_1RigidBody.html @@ -0,0 +1,200 @@ + + + + + + + +YAGE: yage::RigidBody Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::RigidBody Class Reference
+
+
+ +

#include <rigidbody.hpp>

+
+Inheritance diagram for yage::RigidBody:
+
+
+ + +yage::ParticleBody +yage::Body + +
+ + + + + + + + + + + + + + + + +

+Public Member Functions

 RigidBody (const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=true)
 
- Public Member Functions inherited from yage::ParticleBody
 ParticleBody (const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=true)
 
void applyForce (const Vector2d &force) override override
 
void update () override override
 
- Public Member Functions inherited from yage::Body
double xPosition () const
 
double yPosition () const
 
+ + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Attributes inherited from yage::Body
static const double GRAVITY = -9.81
 
- Protected Member Functions inherited from yage::Body
 Body (Vector2d position=Vector2d(0, 0), double mass=1, Vector2d velocity=Vector2d(0, 0), bool gravity=false)
 
- Protected Attributes inherited from yage::Body
Vector2d position_ = Vector2d(0, 0)
 
double mass_ = 1
 
Vector2d velocity_ = Vector2d(0, 0)
 
bool gravity_ = true
 
Vector2d acceleration_ = Vector2d(0, 0)
 
Vector2d force_ = Vector2d(0, 0)
 
+

Constructor & Destructor Documentation

+ +

◆ RigidBody()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
yage::RigidBody::RigidBody (const Vector2dposition = Vector2d(0, 0),
double mass = 1,
const Vector2dvelocity = Vector2d(0, 0),
bool gravity = true 
)
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/classyage_1_1RigidBody.js b/classyage_1_1RigidBody.js new file mode 100644 index 00000000..1cc8d95c --- /dev/null +++ b/classyage_1_1RigidBody.js @@ -0,0 +1,4 @@ +var classyage_1_1RigidBody = +[ + [ "RigidBody", "classyage_1_1RigidBody.html#aed946934f970694c6f6840b09600a606", null ] +]; \ No newline at end of file diff --git a/classyage_1_1RigidBody.png b/classyage_1_1RigidBody.png new file mode 100644 index 00000000..bfa1f2e1 Binary files /dev/null and b/classyage_1_1RigidBody.png differ diff --git a/classyage_1_1Sprite-members.html b/classyage_1_1Sprite-members.html new file mode 100644 index 00000000..2d09fc7e --- /dev/null +++ b/classyage_1_1Sprite-members.html @@ -0,0 +1,116 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::Sprite Member List
+
+
+ +

This is the complete list of members for yage::Sprite, including all inherited members.

+ + + + + + + + + + + + + + + +
draw()yage::Sprite
height_yage::Spriteprivate
init(float x, float y, float width, float height, const std::string &texture_path)yage::Sprite
operator=(const Sprite &)=deleteyage::Sprite
operator=(Sprite &&)=deleteyage::Sprite
Sprite()yage::Sprite
Sprite(const Sprite &)=deleteyage::Sprite
Sprite(Sprite &&)=deleteyage::Sprite
texture_yage::Spriteprivate
vbo_id_yage::Spriteprivate
width_yage::Spriteprivate
x_yage::Spriteprivate
y_yage::Spriteprivate
~Sprite()yage::Sprite
+
+ + + + diff --git a/classyage_1_1Sprite.html b/classyage_1_1Sprite.html new file mode 100644 index 00000000..1a646cb7 --- /dev/null +++ b/classyage_1_1Sprite.html @@ -0,0 +1,489 @@ + + + + + + + +YAGE: yage::Sprite Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::Sprite Class Reference
+
+
+ +

#include <sprite.hpp>

+ + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Sprite ()
 
 Sprite (const Sprite &)=delete
 
 Sprite (Sprite &&)=delete
 
 ~Sprite ()
 
Spriteoperator= (const Sprite &)=delete
 
Spriteoperator= (Sprite &&)=delete
 
void init (float x, float y, float width, float height, const std::string &texture_path)
 
void draw ()
 
+ + + + + + + + + + + + + +

+Private Attributes

float x_
 
float y_
 
float width_
 
float height_
 
GLuint vbo_id_ = 0
 
Texture texture_
 
+

Constructor & Destructor Documentation

+ +

◆ Sprite() [1/3]

+ +
+
+ + + + + +
+ + + + + + + +
yage::Sprite::Sprite ()
+
+default
+
+ +
+
+ +

◆ Sprite() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
yage::Sprite::Sprite (const Sprite)
+
+delete
+
+ +
+
+ +

◆ Sprite() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
yage::Sprite::Sprite (Sprite && )
+
+delete
+
+ +
+
+ +

◆ ~Sprite()

+ +
+
+ + + + + + + +
yage::Sprite::~Sprite ()
+
+ +
+
+

Member Function Documentation

+ +

◆ draw()

+ +
+
+ + + + + + + +
void yage::Sprite::draw ()
+
+ +
+
+ +

◆ init()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void yage::Sprite::init (float x,
float y,
float width,
float height,
const std::string & texture_path 
)
+
+ +
+
+ +

◆ operator=() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Sprite& yage::Sprite::operator= (const Sprite)
+
+delete
+
+ +
+
+ +

◆ operator=() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Sprite& yage::Sprite::operator= (Sprite && )
+
+delete
+
+ +
+
+

Member Data Documentation

+ +

◆ height_

+ +
+
+ + + + + +
+ + + + +
float yage::Sprite::height_
+
+private
+
+ +
+
+ +

◆ texture_

+ +
+
+ + + + + +
+ + + + +
Texture yage::Sprite::texture_
+
+private
+
+ +
+
+ +

◆ vbo_id_

+ +
+
+ + + + + +
+ + + + +
GLuint yage::Sprite::vbo_id_ = 0
+
+private
+
+ +
+
+ +

◆ width_

+ +
+
+ + + + + +
+ + + + +
float yage::Sprite::width_
+
+private
+
+ +
+
+ +

◆ x_

+ +
+
+ + + + + +
+ + + + +
float yage::Sprite::x_
+
+private
+
+ +
+
+ +

◆ y_

+ +
+
+ + + + + +
+ + + + +
float yage::Sprite::y_
+
+private
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/classyage_1_1Sprite.js b/classyage_1_1Sprite.js new file mode 100644 index 00000000..aaab3774 --- /dev/null +++ b/classyage_1_1Sprite.js @@ -0,0 +1,17 @@ +var classyage_1_1Sprite = +[ + [ "Sprite", "classyage_1_1Sprite.html#a80b2bc32161d2444f4a4cf3492effc06", null ], + [ "Sprite", "classyage_1_1Sprite.html#aa5a7958e17f1d042226b91fb1829642e", null ], + [ "Sprite", "classyage_1_1Sprite.html#a33789b3e37bfcb84ed89ec69f47817a1", null ], + [ "~Sprite", "classyage_1_1Sprite.html#aa2f833e040940616fa17ee8f02f8cab2", null ], + [ "draw", "classyage_1_1Sprite.html#a8eed26f4fa57b3ad47d791564233ee40", null ], + [ "init", "classyage_1_1Sprite.html#a2f6294be8b2551077cf475892bcddcc1", null ], + [ "operator=", "classyage_1_1Sprite.html#a97dd80e05efb9399ee8471ff40a77bee", null ], + [ "operator=", "classyage_1_1Sprite.html#a3fe5615022d2b157b9e6375197254897", null ], + [ "height_", "classyage_1_1Sprite.html#abe6306d84f416b99ff3725ac6d9659d3", null ], + [ "texture_", "classyage_1_1Sprite.html#ac8f6505d7b080bb346458e6d70cc60d0", null ], + [ "vbo_id_", "classyage_1_1Sprite.html#a0f48a2cd909000f719cde8dea33bf1ad", null ], + [ "width_", "classyage_1_1Sprite.html#a9699a12e74c0b78d3b4e396fed59b7a8", null ], + [ "x_", "classyage_1_1Sprite.html#a6374eb3013ac9b87fa136f317dfb8d03", null ], + [ "y_", "classyage_1_1Sprite.html#a91e70bb6f123955cb3dd5e7932e9c3ed", null ] +]; \ No newline at end of file diff --git a/classyage_1_1SpriteBatch-members.html b/classyage_1_1SpriteBatch-members.html new file mode 100644 index 00000000..fb1f066e --- /dev/null +++ b/classyage_1_1SpriteBatch-members.html @@ -0,0 +1,122 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::SpriteBatch Member List
+
+
+ +

This is the complete list of members for yage::SpriteBatch, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
begin()yage::SpriteBatch
createRenderBatches()yage::SpriteBatchprivate
createVertexArray()yage::SpriteBatchprivate
draw(const glm::vec4 &destination_rect, const glm::vec4 &uv_rect, GLuint texture, const Color &color, float depth)yage::SpriteBatch
end()yage::SpriteBatch
glyph_ptrs_yage::SpriteBatchprivate
glyphs_yage::SpriteBatchprivate
init()yage::SpriteBatch
NUM_VERTICESyage::SpriteBatchstatic
operator=(const SpriteBatch &)=deleteyage::SpriteBatch
operator=(SpriteBatch &&)=deleteyage::SpriteBatch
render()yage::SpriteBatch
render_batches_yage::SpriteBatchprivate
sortGlyphs()yage::SpriteBatchprivate
SpriteBatch()yage::SpriteBatch
SpriteBatch(const SpriteBatch &)=deleteyage::SpriteBatch
SpriteBatch(SpriteBatch &&)=deleteyage::SpriteBatch
vao_yage::SpriteBatchprivate
vbo_yage::SpriteBatchprivate
~SpriteBatch()yage::SpriteBatch
+
+ + + + diff --git a/classyage_1_1SpriteBatch.html b/classyage_1_1SpriteBatch.html new file mode 100644 index 00000000..73ffb6f6 --- /dev/null +++ b/classyage_1_1SpriteBatch.html @@ -0,0 +1,635 @@ + + + + + + + +YAGE: yage::SpriteBatch Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+ +

#include <spritebatch.hpp>

+ + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 SpriteBatch ()
 
 SpriteBatch (const SpriteBatch &)=delete
 
 SpriteBatch (SpriteBatch &&)=delete
 
 ~SpriteBatch ()
 
SpriteBatchoperator= (const SpriteBatch &)=delete
 
SpriteBatchoperator= (SpriteBatch &&)=delete
 
void init ()
 
void begin ()
 
void end ()
 
void draw (const glm::vec4 &destination_rect, const glm::vec4 &uv_rect, GLuint texture, const Color &color, float depth)
 
void render ()
 
+ + + +

+Static Public Attributes

static const int NUM_VERTICES = 6
 
+ + + + + + + +

+Private Member Functions

void createVertexArray ()
 
void createRenderBatches ()
 
void sortGlyphs ()
 
+ + + + + + + + + + + +

+Private Attributes

GLuint vbo_ = 0
 
GLuint vao_ = 0
 
std::vector< Glyphglyphs_
 
std::vector< Glyph * > glyph_ptrs_
 
std::vector< RenderBatchrender_batches_
 
+

Constructor & Destructor Documentation

+ +

◆ SpriteBatch() [1/3]

+ +
+
+ + + + + +
+ + + + + + + +
yage::SpriteBatch::SpriteBatch ()
+
+default
+
+ +
+
+ +

◆ SpriteBatch() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
yage::SpriteBatch::SpriteBatch (const SpriteBatch)
+
+delete
+
+ +
+
+ +

◆ SpriteBatch() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
yage::SpriteBatch::SpriteBatch (SpriteBatch && )
+
+delete
+
+ +
+
+ +

◆ ~SpriteBatch()

+ +
+
+ + + + + + + +
yage::SpriteBatch::~SpriteBatch ()
+
+ +
+
+

Member Function Documentation

+ +

◆ begin()

+ +
+
+ + + + + + + +
void yage::SpriteBatch::begin ()
+
+ +
+
+ +

◆ createRenderBatches()

+ +
+
+ + + + + +
+ + + + + + + +
void yage::SpriteBatch::createRenderBatches ()
+
+private
+
+ +
+
+ +

◆ createVertexArray()

+ +
+
+ + + + + +
+ + + + + + + +
void yage::SpriteBatch::createVertexArray ()
+
+private
+
+ +
+
+ +

◆ draw()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void yage::SpriteBatch::draw (const glm::vec4 & destination_rect,
const glm::vec4 & uv_rect,
GLuint texture,
const Colorcolor,
float depth 
)
+
+ +
+
+ +

◆ end()

+ +
+
+ + + + + + + +
void yage::SpriteBatch::end ()
+
+ +
+
+ +

◆ init()

+ +
+
+ + + + + + + +
void yage::SpriteBatch::init ()
+
+ +
+
+ +

◆ operator=() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
SpriteBatch& yage::SpriteBatch::operator= (const SpriteBatch)
+
+delete
+
+ +
+
+ +

◆ operator=() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
SpriteBatch& yage::SpriteBatch::operator= (SpriteBatch && )
+
+delete
+
+ +
+
+ +

◆ render()

+ +
+
+ + + + + + + +
void yage::SpriteBatch::render ()
+
+ +
+
+ +

◆ sortGlyphs()

+ +
+
+ + + + + +
+ + + + + + + +
void yage::SpriteBatch::sortGlyphs ()
+
+private
+
+ +
+
+

Member Data Documentation

+ +

◆ glyph_ptrs_

+ +
+
+ + + + + +
+ + + + +
std::vector<Glyph*> yage::SpriteBatch::glyph_ptrs_
+
+private
+
+ +
+
+ +

◆ glyphs_

+ +
+
+ + + + + +
+ + + + +
std::vector<Glyph> yage::SpriteBatch::glyphs_
+
+private
+
+ +
+
+ +

◆ NUM_VERTICES

+ +
+
+ + + + + +
+ + + + +
const int yage::SpriteBatch::NUM_VERTICES = 6
+
+static
+
+ +
+
+ +

◆ render_batches_

+ +
+
+ + + + + +
+ + + + +
std::vector<RenderBatch> yage::SpriteBatch::render_batches_
+
+private
+
+ +
+
+ +

◆ vao_

+ +
+
+ + + + + +
+ + + + +
GLuint yage::SpriteBatch::vao_ = 0
+
+private
+
+ +
+
+ +

◆ vbo_

+ +
+
+ + + + + +
+ + + + +
GLuint yage::SpriteBatch::vbo_ = 0
+
+private
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/classyage_1_1SpriteBatch.js b/classyage_1_1SpriteBatch.js new file mode 100644 index 00000000..1da917c3 --- /dev/null +++ b/classyage_1_1SpriteBatch.js @@ -0,0 +1,23 @@ +var classyage_1_1SpriteBatch = +[ + [ "SpriteBatch", "classyage_1_1SpriteBatch.html#afda50a8a2a6c9ffd1b9d962fae223f8a", null ], + [ "SpriteBatch", "classyage_1_1SpriteBatch.html#a30a46a7182235a739916d540781af652", null ], + [ "SpriteBatch", "classyage_1_1SpriteBatch.html#a7f18a506f4188acd2219da8147dc0e1e", null ], + [ "~SpriteBatch", "classyage_1_1SpriteBatch.html#afa26d86730be23aa5e0c8c4a9d67001a", null ], + [ "begin", "classyage_1_1SpriteBatch.html#af6293aac69e1124199297e5b921a4872", null ], + [ "createRenderBatches", "classyage_1_1SpriteBatch.html#ae3e74abbf722aba0197b64d8f61d928c", null ], + [ "createVertexArray", "classyage_1_1SpriteBatch.html#a4e21cc3bc27fbfaf1b6a15362b664027", null ], + [ "draw", "classyage_1_1SpriteBatch.html#ab477a5393ddd7b78afba93b96962f038", null ], + [ "end", "classyage_1_1SpriteBatch.html#af8b705cdad7ceefa902f3be620ac8632", null ], + [ "init", "classyage_1_1SpriteBatch.html#a7731372a6ec1aea75d1732700fe0f4c6", null ], + [ "operator=", "classyage_1_1SpriteBatch.html#a1b365d89c096d7fa138e1c7091f1d737", null ], + [ "operator=", "classyage_1_1SpriteBatch.html#a204782dd15c82376555ad0b049c4167f", null ], + [ "render", "classyage_1_1SpriteBatch.html#a195c4aca60815d413c65dce99389282d", null ], + [ "sortGlyphs", "classyage_1_1SpriteBatch.html#adea6570f196b203a4d6e07ad66738c9a", null ], + [ "glyph_ptrs_", "classyage_1_1SpriteBatch.html#aab5ddd1b98fc66c19eeed4d818c6b387", null ], + [ "glyphs_", "classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200", null ], + [ "NUM_VERTICES", "classyage_1_1SpriteBatch.html#a6e01d11880a841b153e950aa8307b1a5", null ], + [ "render_batches_", "classyage_1_1SpriteBatch.html#abf057ffe5fd9b7c35256dad147391008", null ], + [ "vao_", "classyage_1_1SpriteBatch.html#a00a06cc5f4bd47c2d5003cf2e3d7a6c1", null ], + [ "vbo_", "classyage_1_1SpriteBatch.html#a56e335f07826ca61ba680981d46b043c", null ] +]; \ No newline at end of file diff --git a/classyage_1_1TextureCache-members.html b/classyage_1_1TextureCache-members.html new file mode 100644 index 00000000..a3ca3c34 --- /dev/null +++ b/classyage_1_1TextureCache-members.html @@ -0,0 +1,105 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::TextureCache Member List
+
+
+ +

This is the complete list of members for yage::TextureCache, including all inherited members.

+ + + + +
getTexture(const std::string &texture_path)yage::TextureCache
texture_map_yage::TextureCacheprivate
TextureCache()yage::TextureCache
+
+ + + + diff --git a/classyage_1_1TextureCache.html b/classyage_1_1TextureCache.html new file mode 100644 index 00000000..5bbf9377 --- /dev/null +++ b/classyage_1_1TextureCache.html @@ -0,0 +1,191 @@ + + + + + + + +YAGE: yage::TextureCache Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::TextureCache Class Reference
+
+
+ +

#include <texturecache.hpp>

+ + + + + + +

+Public Member Functions

 TextureCache ()
 
Texture getTexture (const std::string &texture_path)
 
+ + + +

+Private Attributes

std::unordered_map< std::string, Texturetexture_map_
 
+

Constructor & Destructor Documentation

+ +

◆ TextureCache()

+ +
+
+ + + + + +
+ + + + + + + +
yage::TextureCache::TextureCache ()
+
+default
+
+ +
+
+

Member Function Documentation

+ +

◆ getTexture()

+ +
+
+ + + + + + + + +
Texture yage::TextureCache::getTexture (const std::string & texture_path)
+
+ +
+
+

Member Data Documentation

+ +

◆ texture_map_

+ +
+
+ + + + + +
+ + + + +
std::unordered_map<std::string, Texture> yage::TextureCache::texture_map_
+
+private
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/classyage_1_1TextureCache.js b/classyage_1_1TextureCache.js new file mode 100644 index 00000000..60ae1cc5 --- /dev/null +++ b/classyage_1_1TextureCache.js @@ -0,0 +1,6 @@ +var classyage_1_1TextureCache = +[ + [ "TextureCache", "classyage_1_1TextureCache.html#a5e96e92a02ded2af93e91df54f08300d", null ], + [ "getTexture", "classyage_1_1TextureCache.html#acec85e497e3dbcded344f4bed6b4389e", null ], + [ "texture_map_", "classyage_1_1TextureCache.html#aecd72d2dd02efb862548e4def6f6b323", null ] +]; \ No newline at end of file diff --git a/classyage_1_1Vector-members.html b/classyage_1_1Vector-members.html new file mode 100644 index 00000000..422d0f2b --- /dev/null +++ b/classyage_1_1Vector-members.html @@ -0,0 +1,119 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::Vector< Rows, Type > Member List
+
+
+ +

This is the complete list of members for yage::Vector< Rows, Type >, including all inherited members.

+ + + + + + + + + + + + + + + + + + +
begin()yage::Matrix< Rows, 1, Type >inline
colSize() constyage::Matrix< Rows, 1, Type >inline
data_yage::Matrix< Rows, 1, Type >protected
end()yage::Matrix< Rows, 1, Type >inline
getCol(int col) constyage::Matrix< Rows, 1, Type >inline
getRow(int row) constyage::Matrix< Rows, 1, Type >inline
Matrix()yage::Matrix< Rows, 1, Type >inline
Matrix(const std::vector< Type > &data)yage::Matrix< Rows, 1, Type >inline
operator+=(const Matrix< Rows, Cols, Type > &rhs)yage::Matrix< Rows, 1, Type >inline
operator-=(const Matrix< Rows, Cols, Type > &rhs)yage::Matrix< Rows, 1, Type >inline
operator[](int col)yage::Vector< Rows, Type >inline
operator[](int col) constyage::Vector< Rows, Type >inline
rowSize() constyage::Matrix< Rows, 1, Type >inline
toString() const override override overrideyage::Vector< Rows, Type >inlinevirtual
Vector()yage::Vector< Rows, Type >inline
Vector(const Matrix< Rows, 1, Type > &other)yage::Vector< Rows, Type >inline
Vector(const std::vector< Type > &data)yage::Vector< Rows, Type >inline
+
+ + + + diff --git a/classyage_1_1Vector.html b/classyage_1_1Vector.html new file mode 100644 index 00000000..fe701348 --- /dev/null +++ b/classyage_1_1Vector.html @@ -0,0 +1,342 @@ + + + + + + + +YAGE: yage::Vector< Rows, Type > Class Template Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::Vector< Rows, Type > Class Template Reference
+
+
+ +

#include <matrix.hpp>

+
+Inheritance diagram for yage::Vector< Rows, Type >:
+
+
+ + +yage::Matrix< Rows, 1, Type > + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Vector ()
 
 Vector (const Matrix< Rows, 1, Type > &other)
 
 Vector (const std::vector< Type > &data)
 
Type & operator[] (int col)
 
const Type & operator[] (int col) const
 
std::string toString () const override override override
 prints out the matrix, but can also be implemented by other classes to print data differently More...
 
- Public Member Functions inherited from yage::Matrix< Rows, 1, Type >
 Matrix ()
 Initializes the size of the data_ vector. More...
 
 Matrix (const std::vector< Type > &data)
 
int rowSize () const
 Returns the row size of the Matrix. More...
 
int colSize () const
 Returns the column size of the Matrixxs. More...
 
Matrix< 1, Cols, Type > getRow (int row) const
 Return the row specified row as a Matrix with only one row. More...
 
Matrix< Rows, 1, Type > getCol (int col) const
 
std::vector< Type >::iterator begin ()
 iterator support for begin More...
 
std::vector< Type >::iterator end ()
 iterator support for end More...
 
detail::Row< Rows, Cols, Type > operator[] (int row)
 
detail::Row< Rows, Cols, Type > operator[] (int row) const
 
Matrix< Rows, Cols, Type > & operator+= (const Matrix< Rows, Cols, Type > &rhs)
 
Matrix< Rows, Cols, Type > & operator-= (const Matrix< Rows, Cols, Type > &rhs)
 
+ + + + + +

+Additional Inherited Members

- Protected Attributes inherited from yage::Matrix< Rows, 1, Type >
std::vector< Type > data_
 Vector containing the data of the matrix. More...
 
+

Constructor & Destructor Documentation

+ +

◆ Vector() [1/3]

+ +
+
+
+template<int Rows = 2, class Type = double>
+ + + + + +
+ + + + + + + +
yage::Vector< Rows, Type >::Vector ()
+
+inline
+
+ +
+
+ +

◆ Vector() [2/3]

+ +
+
+
+template<int Rows = 2, class Type = double>
+ + + + + +
+ + + + + + + + +
yage::Vector< Rows, Type >::Vector (const Matrix< Rows, 1, Type > & other)
+
+inline
+
+ +
+
+ +

◆ Vector() [3/3]

+ +
+
+
+template<int Rows = 2, class Type = double>
+ + + + + +
+ + + + + + + + +
yage::Vector< Rows, Type >::Vector (const std::vector< Type > & data)
+
+inline
+
+ +
+
+

Member Function Documentation

+ +

◆ operator[]() [1/2]

+ +
+
+
+template<int Rows = 2, class Type = double>
+ + + + + +
+ + + + + + + + +
Type& yage::Vector< Rows, Type >::operator[] (int col)
+
+inline
+
+ +
+
+ +

◆ operator[]() [2/2]

+ +
+
+
+template<int Rows = 2, class Type = double>
+ + + + + +
+ + + + + + + + +
const Type& yage::Vector< Rows, Type >::operator[] (int col) const
+
+inline
+
+ +
+
+ +

◆ toString()

+ +
+
+
+template<int Rows = 2, class Type = double>
+ + + + + +
+ + + + + + + +
std::string yage::Vector< Rows, Type >::toString () const
+
+inlineoverridevirtual
+
+ +

Reimplemented from yage::Matrix< Rows, 1, Type >.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/classyage_1_1Vector.js b/classyage_1_1Vector.js new file mode 100644 index 00000000..f4db5a4e --- /dev/null +++ b/classyage_1_1Vector.js @@ -0,0 +1,9 @@ +var classyage_1_1Vector = +[ + [ "Vector", "classyage_1_1Vector.html#ac9b202913c03bde201e350e855fbbffa", null ], + [ "Vector", "classyage_1_1Vector.html#a55fd6c60a95832ad4b68083071f9866f", null ], + [ "Vector", "classyage_1_1Vector.html#aa291a8ee264f81165b529b7f3a0c265d", null ], + [ "operator[]", "classyage_1_1Vector.html#a81efa1cb9d4ce8bb8c5cf9652a5650a2", null ], + [ "operator[]", "classyage_1_1Vector.html#a1e9c60516faeb06826666493a7ca307a", null ], + [ "toString", "classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985", null ] +]; \ No newline at end of file diff --git a/classyage_1_1Vector.png b/classyage_1_1Vector.png new file mode 100644 index 00000000..ec1fc517 Binary files /dev/null and b/classyage_1_1Vector.png differ diff --git a/classyage_1_1Vector2-members.html b/classyage_1_1Vector2-members.html index 8fdc2462..a8ff1fe1 100644 --- a/classyage_1_1Vector2-members.html +++ b/classyage_1_1Vector2-members.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
yage::Vector2< Type > Member List
@@ -75,15 +92,36 @@ $(function() { colSize() constyage::Matrix< Rows, 1, Type >inline data_yage::Matrix< Rows, 1, Type >protected end()yage::Matrix< Rows, 1, Type >inline - getRow(int row) constyage::Matrix< Rows, 1, Type >inline - Matrix()yage::Matrix< Rows, 1, Type >inline + getCol(int col) constyage::Matrix< Rows, 1, Type >inline + getRow(int row) constyage::Matrix< Rows, 1, Type >inline + Matrix()yage::Matrix< Rows, 1, Type >inline + Matrix(const std::vector< Type > &data)yage::Matrix< Rows, 1, Type >inline + operator+=(const Matrix< Rows, Cols, Type > &rhs)yage::Matrix< Rows, 1, Type >inline + operator-=(const Matrix< Rows, Cols, Type > &rhs)yage::Matrix< Rows, 1, Type >inline + operator[](int col)yage::Vector< 2, Type >inline + operator[](int col) constyage::Vector< 2, Type >inline rowSize() constyage::Matrix< Rows, 1, Type >inline + toString() const override override overrideyage::Vector< 2, Type >inlinevirtual + Vector()yage::Vector< 2, Type >inline + Vector(const Matrix< Rows, 1, Type > &other)yage::Vector< 2, Type >inline + Vector(const std::vector< Type > &data)yage::Vector< 2, Type >inline + Vector2()yage::Vector2< Type >inline + Vector2(const std::vector< Type > &data)yage::Vector2< Type >inline + Vector2(Type x, Type y)yage::Vector2< Type >inline + Vector2(const Matrix< 2, 1, Type > &other)yage::Vector2< Type >inline + x()yage::Vector2< Type >inline + x() constyage::Vector2< Type >inline + y()yage::Vector2< Type >inline + y() constyage::Vector2< Type >inline
+ - + diff --git a/classyage_1_1Vector2.html b/classyage_1_1Vector2.html index ab3801f6..0988e1b6 100644 --- a/classyage_1_1Vector2.html +++ b/classyage_1_1Vector2.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
yage::Vector2< Type > Class Template Reference
-

2D Vector class. +

2D Vector class. More...

#include <matrix.hpp>

- -

Inherits yage::Vector< Rows, Type >.

+
+Inheritance diagram for yage::Vector2< Type >:
+
+
+ + +yage::Vector< 2, Type > +yage::Matrix< Rows, 1, Type > + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Vector2 ()
 
 Vector2 (const std::vector< Type > &data)
 
 Vector2 (Type x, Type y)
 
 Vector2 (const Matrix< 2, 1, Type > &other)
 
Type & x ()
 
const Type & x () const
 
Type & y ()
 
const Type & y () const
 
- Public Member Functions inherited from yage::Vector< 2, Type >
 Vector ()
 
 Vector (const Matrix< Rows, 1, Type > &other)
 
 Vector (const std::vector< Type > &data)
 
Type & operator[] (int col)
 
const Type & operator[] (int col) const
 
std::string toString () const override override override
 prints out the matrix, but can also be implemented by other classes to print data differently More...
 
- Public Member Functions inherited from yage::Matrix< Rows, 1, Type >
 Matrix ()
 Initializes the size of the data_ vector. More...
 
 Matrix (const std::vector< Type > &data)
 
int rowSize () const
 Returns the row size of the Matrix. More...
 
int colSize () const
 Returns the column size of the Matrixxs. More...
 
Matrix< 1, Cols, Type > getRow (int row) const
 Return the row specified row as a Matrix with only one row. More...
 
Matrix< Rows, 1, Type > getCol (int col) const
 
std::vector< Type >::iterator begin ()
 iterator support for begin More...
 
std::vector< Type >::iterator end ()
 iterator support for end More...
 
detail::Row< Rows, Cols, Type > operator[] (int row)
 
detail::Row< Rows, Cols, Type > operator[] (int row) const
 
Matrix< Rows, Cols, Type > & operator+= (const Matrix< Rows, Cols, Type > &rhs)
 
Matrix< Rows, Cols, Type > & operator-= (const Matrix< Rows, Cols, Type > &rhs)
 
+ + + + + +

+Additional Inherited Members

- Protected Attributes inherited from yage::Matrix< Rows, 1, Type >
std::vector< Type > data_
 Vector containing the data of the matrix. More...
 

Detailed Description

template<class Type = double>
class yage::Vector2< Type >

-

2D Vector class.

Two dimensional vector class.

-

The documentation for this class was generated from the following file:

Constructor & Destructor Documentation

+ +

◆ Vector2() [1/4]

+ +
+
+
+template<class Type = double>
+ + + + + +
+ + + + + + + +
yage::Vector2< Type >::Vector2 ()
+
+inline
+
+ +
+
+ +

◆ Vector2() [2/4]

+ +
+
+
+template<class Type = double>
+ + + + + +
+ + + + + + + + +
yage::Vector2< Type >::Vector2 (const std::vector< Type > & data)
+
+inline
+
+ +
+
+ +

◆ Vector2() [3/4]

+ +
+
+
+template<class Type = double>
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
yage::Vector2< Type >::Vector2 (Type x,
Type y 
)
+
+inline
+
+ +
+
+ +

◆ Vector2() [4/4]

+ +
+
+
+template<class Type = double>
+ + + + + +
+ + + + + + + + +
yage::Vector2< Type >::Vector2 (const Matrix< 2, 1, Type > & other)
+
+inline
+
+ +
+
+

Member Function Documentation

+ +

◆ x() [1/2]

+ +
+
+
+template<class Type = double>
+ + + + + +
+ + + + + + + +
Type& yage::Vector2< Type >::x ()
+
+inline
+
+ +
+
+ +

◆ x() [2/2]

+ +
+
+
+template<class Type = double>
+ + + + + +
+ + + + + + + +
const Type& yage::Vector2< Type >::x () const
+
+inline
+
+ +
+
+ +

◆ y() [1/2]

+ +
+
+
+template<class Type = double>
+ + + + + +
+ + + + + + + +
Type& yage::Vector2< Type >::y ()
+
+inline
+
+ +
+
+ +

◆ y() [2/2]

+ +
+
+
+template<class Type = double>
+ + + + + +
+ + + + + + + +
const Type& yage::Vector2< Type >::y () const
+
+inline
+
+ +
+
+
The documentation for this class was generated from the following file: + - + diff --git a/classyage_1_1Vector2.js b/classyage_1_1Vector2.js new file mode 100644 index 00000000..c7c480f8 --- /dev/null +++ b/classyage_1_1Vector2.js @@ -0,0 +1,11 @@ +var classyage_1_1Vector2 = +[ + [ "Vector2", "classyage_1_1Vector2.html#a50c108903be424de1c41ce31fddd23ea", null ], + [ "Vector2", "classyage_1_1Vector2.html#af69d534302a406bac419589e0a2f2917", null ], + [ "Vector2", "classyage_1_1Vector2.html#a3ef3bc2954f387f1db2165a884765ad0", null ], + [ "Vector2", "classyage_1_1Vector2.html#aacee766d18741a925a47b91fa0080822", null ], + [ "x", "classyage_1_1Vector2.html#a5a777413b63e68dc5f797d31e3d7beaf", null ], + [ "x", "classyage_1_1Vector2.html#a96360148b634862a31573f475b4fa53f", null ], + [ "y", "classyage_1_1Vector2.html#a554645b415a76af47698985b7757f0c2", null ], + [ "y", "classyage_1_1Vector2.html#ab5e0499a78afced459600a867736a42e", null ] +]; \ No newline at end of file diff --git a/classyage_1_1Vector2.png b/classyage_1_1Vector2.png new file mode 100644 index 00000000..20f24356 Binary files /dev/null and b/classyage_1_1Vector2.png differ diff --git a/classyage_1_1Window-members.html b/classyage_1_1Window-members.html new file mode 100644 index 00000000..97a134a4 --- /dev/null +++ b/classyage_1_1Window-members.html @@ -0,0 +1,112 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::Window Member List
+
+
+ +

This is the complete list of members for yage::Window, including all inherited members.

+ + + + + + + + + + + +
clearBuffer()yage::Window
create(const std::string &window_name, int width, int height, unsigned flags=WindowFlags::SHOWN)yage::Window
operator=(const Window &)=deleteyage::Window
operator=(Window &&)=deleteyage::Window
swapBuffer()yage::Window
Window()yage::Window
Window(const Window &)=deleteyage::Window
Window(Window &&)=deleteyage::Window
window_yage::Windowprivate
~Window()yage::Window
+
+ + + + diff --git a/classyage_1_1Window.html b/classyage_1_1Window.html new file mode 100644 index 00000000..a0f74388 --- /dev/null +++ b/classyage_1_1Window.html @@ -0,0 +1,387 @@ + + + + + + + +YAGE: yage::Window Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::Window Class Reference
+
+
+ +

#include <window.hpp>

+ + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Window ()
 
 Window (const Window &)=delete
 
 Window (Window &&)=delete
 
 ~Window ()
 destroys the window handle More...
 
Windowoperator= (const Window &)=delete
 
Windowoperator= (Window &&)=delete
 
void create (const std::string &window_name, int width, int height, unsigned flags=WindowFlags::SHOWN)
 create the window, initialize the handle and update the width and height More...
 
void swapBuffer ()
 swap the buffer More...
 
void clearBuffer ()
 clear buffer More...
 
+ + + + +

+Private Attributes

SDL_Window * window_ = nullptr
 window handle More...
 
+

Constructor & Destructor Documentation

+ +

◆ Window() [1/3]

+ +
+
+ + + + + +
+ + + + + + + +
yage::Window::Window ()
+
+default
+
+ +
+
+ +

◆ Window() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
yage::Window::Window (const Window)
+
+delete
+
+ +
+
+ +

◆ Window() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
yage::Window::Window (Window && )
+
+delete
+
+ +
+
+ +

◆ ~Window()

+ +
+
+ + + + + + + +
yage::Window::~Window ()
+
+ +
+
+

Member Function Documentation

+ +

◆ clearBuffer()

+ +
+
+ + + + + + + +
void yage::Window::clearBuffer ()
+
+ +
+
+ +

◆ create()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void yage::Window::create (const std::string & window_name,
int width,
int height,
unsigned flags = WindowFlags::SHOWN 
)
+
+ +
+
+ +

◆ operator=() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Window& yage::Window::operator= (const Window)
+
+delete
+
+ +
+
+ +

◆ operator=() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Window& yage::Window::operator= (Window && )
+
+delete
+
+ +
+
+ +

◆ swapBuffer()

+ +
+
+ + + + + + + +
void yage::Window::swapBuffer ()
+
+ +
+
+

Member Data Documentation

+ +

◆ window_

+ +
+
+ + + + + +
+ + + + +
SDL_Window* yage::Window::window_ = nullptr
+
+private
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/classyage_1_1Window.js b/classyage_1_1Window.js new file mode 100644 index 00000000..36a825e4 --- /dev/null +++ b/classyage_1_1Window.js @@ -0,0 +1,13 @@ +var classyage_1_1Window = +[ + [ "Window", "classyage_1_1Window.html#a7d7bd2f22e095df387e8b5cda2bb484e", null ], + [ "Window", "classyage_1_1Window.html#a1225a2b5eff6d44a6bce3f0f5f10e2bf", null ], + [ "Window", "classyage_1_1Window.html#a4be115daea6c7473fca81623c547d821", null ], + [ "~Window", "classyage_1_1Window.html#a9a8dd109e145c459e52abb3a8861e3a0", null ], + [ "clearBuffer", "classyage_1_1Window.html#a98e2a33820ad63b2c94c56e203ff6e58", null ], + [ "create", "classyage_1_1Window.html#abfb5ae5e5abf22133e59097fc8aae5fe", null ], + [ "operator=", "classyage_1_1Window.html#a5247a4164bf0006fe9f034cd27c5b6db", null ], + [ "operator=", "classyage_1_1Window.html#a98c07656f90a6205f24dfe85ef1137de", null ], + [ "swapBuffer", "classyage_1_1Window.html#a86d0aa8e9896850b9acfc720b5615359", null ], + [ "window_", "classyage_1_1Window.html#acebbf824fbe3bb6afa32f2f33817050b", null ] +]; \ No newline at end of file diff --git a/classyage_1_1detail_1_1Row-members.html b/classyage_1_1detail_1_1Row-members.html new file mode 100644 index 00000000..5a5225b5 --- /dev/null +++ b/classyage_1_1detail_1_1Row-members.html @@ -0,0 +1,107 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::detail::Row< Rows, Cols, Type > Member List
+
+
+ +

This is the complete list of members for yage::detail::Row< Rows, Cols, Type >, including all inherited members.

+ + + + + + +
index_yage::detail::Row< Rows, Cols, Type >private
operator[](int col)yage::detail::Row< Rows, Cols, Type >inline
operator[](int col) constyage::detail::Row< Rows, Cols, Type >inline
parent_yage::detail::Row< Rows, Cols, Type >private
Row(Matrix< Rows, Cols, Type > *parent, int index)yage::detail::Row< Rows, Cols, Type >inline
+
+ + + + diff --git a/classyage_1_1detail_1_1Row.html b/classyage_1_1detail_1_1Row.html new file mode 100644 index 00000000..c11fc3e1 --- /dev/null +++ b/classyage_1_1detail_1_1Row.html @@ -0,0 +1,271 @@ + + + + + + + +YAGE: yage::detail::Row< Rows, Cols, Type > Class Template Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::detail::Row< Rows, Cols, Type > Class Template Reference
+
+
+ +

#include <matrix.hpp>

+ + + + + + + + +

+Public Member Functions

 Row (Matrix< Rows, Cols, Type > *parent, int index)
 
Type & operator[] (int col)
 
const Type & operator[] (int col) const
 
+ + + + + +

+Private Attributes

Matrix< Rows, Cols, Type > * parent_
 
int index_
 
+

Constructor & Destructor Documentation

+ +

◆ Row()

+ +
+
+
+template<int Rows, int Cols, class Type>
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
yage::detail::Row< Rows, Cols, Type >::Row (Matrix< Rows, Cols, Type > * parent,
int index 
)
+
+inline
+
+ +
+
+

Member Function Documentation

+ +

◆ operator[]() [1/2]

+ +
+
+
+template<int Rows, int Cols, class Type>
+ + + + + +
+ + + + + + + + +
Type& yage::detail::Row< Rows, Cols, Type >::operator[] (int col)
+
+inline
+
+ +
+
+ +

◆ operator[]() [2/2]

+ +
+
+
+template<int Rows, int Cols, class Type>
+ + + + + +
+ + + + + + + + +
const Type& yage::detail::Row< Rows, Cols, Type >::operator[] (int col) const
+
+inline
+
+ +
+
+

Member Data Documentation

+ +

◆ index_

+ +
+
+
+template<int Rows, int Cols, class Type>
+ + + + + +
+ + + + +
int yage::detail::Row< Rows, Cols, Type >::index_
+
+private
+
+ +
+
+ +

◆ parent_

+ +
+
+
+template<int Rows, int Cols, class Type>
+ + + + + +
+ + + + +
Matrix<Rows, Cols, Type>* yage::detail::Row< Rows, Cols, Type >::parent_
+
+private
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/classyage_1_1detail_1_1Row.js b/classyage_1_1detail_1_1Row.js new file mode 100644 index 00000000..bcc17415 --- /dev/null +++ b/classyage_1_1detail_1_1Row.js @@ -0,0 +1,8 @@ +var classyage_1_1detail_1_1Row = +[ + [ "Row", "classyage_1_1detail_1_1Row.html#aed5d16657dfa849a6ea1b8b05f5bbcf8", null ], + [ "operator[]", "classyage_1_1detail_1_1Row.html#a2d29349b569f311919bb100855a4bfee", null ], + [ "operator[]", "classyage_1_1detail_1_1Row.html#a14db282093884cebc49229b42d869ad1", null ], + [ "index_", "classyage_1_1detail_1_1Row.html#a237bb404a38dbc1a80e86f911a33c205", null ], + [ "parent_", "classyage_1_1detail_1_1Row.html#ac4cca9c5299c5e874a53166e56383055", null ] +]; \ No newline at end of file diff --git a/collider_8hpp.html b/collider_8hpp.html new file mode 100644 index 00000000..fcc24984 --- /dev/null +++ b/collider_8hpp.html @@ -0,0 +1,118 @@ + + + + + + + +YAGE: include/YAGE/Physics/collider.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
collider.hpp File Reference
+
+
+
#include <glm/glm.hpp>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::Collider
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/collider_8hpp_source.html b/collider_8hpp_source.html index 0573cab3..747277c2 100644 --- a/collider_8hpp_source.html +++ b/collider_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
collider.hpp
-
1 /* ----------------------------------------------------------------------------
2  * collider.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_PHYSICS_COLLIDER_HPP
10 #define YAGE_PHYSICS_COLLIDER_HPP
11 
12 #include <glm/glm.hpp>
13 
14 namespace yage {
15 
16 // The Collider class helps collision detection by providing a general shape
17 // for different shapes to have their own collision algorithms.
18 class Collider {
19 protected:
20  // position of the object
21  glm::vec2 position_;
22 
23  // size of the object
24  glm::vec2 size_;
25 
26 public:
27  Collider(const glm::vec2& position, const glm::vec2& size)
28  : position_(position), size_(size) {}
29 
30  // function that checks if two colliders are colliding
31  virtual bool collides(const Collider& collider) const = 0;
32 
33  // function that returns if a point is inside the shape
34  virtual bool inside(const glm::vec2& point) const = 0;
35 };
36 
37 } // namespace yage
38 
39 #endif
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * collider.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_PHYSICS_COLLIDER_HPP
10 #define YAGE_PHYSICS_COLLIDER_HPP
11 
12 #include <glm/glm.hpp>
13 
14 namespace yage {
15 
16 // The Collider class helps collision detection by providing a general shape
17 // for different shapes to have their own collision algorithms.
18 class Collider {
19 protected:
20  // position of the object
21  glm::vec2 position_;
22 
23  // size of the object
24  glm::vec2 size_;
25 
26 public:
27  Collider(const glm::vec2& position, const glm::vec2& size)
28  : position_(position), size_(size) {}
29 
30  // function that checks if two colliders are colliding
31  virtual bool collides(const Collider& collider) const = 0;
32 
33  // function that returns if a point is inside the shape
34  virtual bool inside(const glm::vec2& point) const = 0;
35 };
36 
37 } // namespace yage
38 
39 #endif
Collider(const glm::vec2 &position, const glm::vec2 &size)
Definition: collider.hpp:27
+
glm::vec2 position_
Definition: collider.hpp:21
+
virtual bool collides(const Collider &collider) const =0
+
virtual bool inside(const glm::vec2 &point) const =0
+
glm::vec2 size_
Definition: collider.hpp:24
+
Definition: collider.hpp:18
+
Templated matrix class.
Definition: camera2d.hpp:17
+
- + diff --git a/collisionbody_8hpp.html b/collisionbody_8hpp.html new file mode 100644 index 00000000..9f6709b7 --- /dev/null +++ b/collisionbody_8hpp.html @@ -0,0 +1,118 @@ + + + + + + + +YAGE: include/YAGE/Physics/collisionbody.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
collisionbody.hpp File Reference
+
+
+
#include "Physics/body.hpp"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::CollisionBody
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/collisionbody_8hpp_source.html b/collisionbody_8hpp_source.html index 4bec29de..f84f5744 100644 --- a/collisionbody_8hpp_source.html +++ b/collisionbody_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
collisionbody.hpp
-
1 /* ----------------------------------------------------------------------------
2  * collisionbody.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_COLLISION_BODY_HPP
10 #define YAGE_COLLISION_BODY_HPP
11 
12 #include "Physics/body.hpp"
13 
14 namespace yage {
15 
16 // a collision body will be a body that is static and not affected by gravity,
17 // with infinite mass
18 class CollisionBody : public Body {
19 public:
20  CollisionBody();
21  virtual ~CollisionBody();
22 };
23 
24 } // yage
25 
26 #endif
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * collisionbody.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_COLLISION_BODY_HPP
10 #define YAGE_COLLISION_BODY_HPP
11 
12 #include "Physics/body.hpp"
13 
14 namespace yage {
15 
16 // a collision body will be a body that is static and not affected by gravity,
17 // with infinite mass
18 class CollisionBody : public Body {
19 public:
20  CollisionBody();
21  virtual ~CollisionBody();
22 };
23 
24 } // yage
25 
26 #endif
+
Definition: body.hpp:15
+
virtual ~CollisionBody()
+
Definition: collisionbody.hpp:18
+ +
Templated matrix class.
Definition: camera2d.hpp:17
+
- + diff --git a/dir_13e138d54eb8818da29c3992edef070a.html b/dir_13e138d54eb8818da29c3992edef070a.html new file mode 100644 index 00000000..a9bd7d13 --- /dev/null +++ b/dir_13e138d54eb8818da29c3992edef070a.html @@ -0,0 +1,112 @@ + + + + + + + +YAGE: test Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
test Directory Reference
+
+
+ + + + + + + + + + +

+Files

file  matrixtest.cpp
 
file  particlebodytest.cpp
 
file  windowtest.cpp
 
file  yagetest.cpp
 
+
+
+ + + + diff --git a/dir_13e138d54eb8818da29c3992edef070a.js b/dir_13e138d54eb8818da29c3992edef070a.js new file mode 100644 index 00000000..6a781bbf --- /dev/null +++ b/dir_13e138d54eb8818da29c3992edef070a.js @@ -0,0 +1,7 @@ +var dir_13e138d54eb8818da29c3992edef070a = +[ + [ "matrixtest.cpp", "matrixtest_8cpp.html", "matrixtest_8cpp" ], + [ "particlebodytest.cpp", "particlebodytest_8cpp.html", "particlebodytest_8cpp" ], + [ "windowtest.cpp", "windowtest_8cpp.html", "windowtest_8cpp" ], + [ "yagetest.cpp", "yagetest_8cpp.html", "yagetest_8cpp" ] +]; \ No newline at end of file diff --git a/dir_4fef79e7177ba769987a8da36c892c5f.html b/dir_4fef79e7177ba769987a8da36c892c5f.html new file mode 100644 index 00000000..da84eb53 --- /dev/null +++ b/dir_4fef79e7177ba769987a8da36c892c5f.html @@ -0,0 +1,106 @@ + + + + + + + +YAGE: build Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
build Directory Reference
+
+
+ + + + +

+Directories

directory  CMakeFiles
 
+
+
+ + + + diff --git a/dir_4fef79e7177ba769987a8da36c892c5f.js b/dir_4fef79e7177ba769987a8da36c892c5f.js new file mode 100644 index 00000000..e144bd28 --- /dev/null +++ b/dir_4fef79e7177ba769987a8da36c892c5f.js @@ -0,0 +1,4 @@ +var dir_4fef79e7177ba769987a8da36c892c5f = +[ + [ "CMakeFiles", "dir_63772b626f2709090f0bdca0f40827b4.html", "dir_63772b626f2709090f0bdca0f40827b4" ] +]; \ No newline at end of file diff --git a/dir_512ea7c65b563979d81d0ae4ea681b6d.html b/dir_512ea7c65b563979d81d0ae4ea681b6d.html new file mode 100644 index 00000000..5de09257 --- /dev/null +++ b/dir_512ea7c65b563979d81d0ae4ea681b6d.html @@ -0,0 +1,106 @@ + + + + + + + +YAGE: build/CMakeFiles/3.9.1/CompilerIdC Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
CompilerIdC Directory Reference
+
+
+ + + + +

+Files

file  CMakeCCompilerId.c
 
+
+
+ + + + diff --git a/dir_512ea7c65b563979d81d0ae4ea681b6d.js b/dir_512ea7c65b563979d81d0ae4ea681b6d.js new file mode 100644 index 00000000..d2ede31f --- /dev/null +++ b/dir_512ea7c65b563979d81d0ae4ea681b6d.js @@ -0,0 +1,4 @@ +var dir_512ea7c65b563979d81d0ae4ea681b6d = +[ + [ "CMakeCCompilerId.c", "3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html", "3_89_81_2CompilerIdC_2CMakeCCompilerId_8c" ] +]; \ No newline at end of file diff --git a/dir_5ac3a90c14a160db9539610948ce4998.html b/dir_5ac3a90c14a160db9539610948ce4998.html index bc5201e5..9a2dbba4 100644 --- a/dir_5ac3a90c14a160db9539610948ce4998.html +++ b/dir_5ac3a90c14a160db9539610948ce4998.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
Math Directory Reference
@@ -71,16 +88,21 @@ $(function() { + + -

Files

file  math.hpp [code]
 
file  matrix.hpp [code]
 Templated matrix class.
 
+ - + diff --git a/dir_5ac3a90c14a160db9539610948ce4998.js b/dir_5ac3a90c14a160db9539610948ce4998.js new file mode 100644 index 00000000..af57796d --- /dev/null +++ b/dir_5ac3a90c14a160db9539610948ce4998.js @@ -0,0 +1,5 @@ +var dir_5ac3a90c14a160db9539610948ce4998 = +[ + [ "math.hpp", "math_8hpp.html", null ], + [ "matrix.hpp", "matrix_8hpp.html", "matrix_8hpp" ] +]; \ No newline at end of file diff --git a/dir_63772b626f2709090f0bdca0f40827b4.html b/dir_63772b626f2709090f0bdca0f40827b4.html new file mode 100644 index 00000000..12780a07 --- /dev/null +++ b/dir_63772b626f2709090f0bdca0f40827b4.html @@ -0,0 +1,115 @@ + + + + + + + +YAGE: build/CMakeFiles Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
CMakeFiles Directory Reference
+
+
+ + + + + + +

+Directories

directory  3.8.2
 
directory  3.9.1
 
+ + + + + +

+Files

file  feature_tests.c
 
file  feature_tests.cxx
 
+
+
+ + + + diff --git a/dir_63772b626f2709090f0bdca0f40827b4.js b/dir_63772b626f2709090f0bdca0f40827b4.js new file mode 100644 index 00000000..4073e368 --- /dev/null +++ b/dir_63772b626f2709090f0bdca0f40827b4.js @@ -0,0 +1,7 @@ +var dir_63772b626f2709090f0bdca0f40827b4 = +[ + [ "3.8.2", "dir_d5fb5e4b817e0b2df7871aa0bc9aec84.html", "dir_d5fb5e4b817e0b2df7871aa0bc9aec84" ], + [ "3.9.1", "dir_dca1da725f00c9a5c5acf81d64d7440f.html", "dir_dca1da725f00c9a5c5acf81d64d7440f" ], + [ "feature_tests.c", "feature__tests_8c.html", "feature__tests_8c" ], + [ "feature_tests.cxx", "feature__tests_8cxx.html", "feature__tests_8cxx" ] +]; \ No newline at end of file diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 772f3095..92c60849 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
src Directory Reference
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

file  body.cpp
 
file  camera2d.cpp
 
file  glslprogram.cpp
 
file  imageloader.cpp
 
file  inputmanager.cpp
 
file  iomanager.cpp
 
file  particlebody.cpp
 
file  picopng.cpp
 
file  rectanglecollider.cpp
 
file  resourcemanager.cpp
 
file  rigidbody.cpp
 
file  sprite.cpp
 
file  spritebatch.cpp
 
file  texturecache.cpp
 
file  window.cpp
 
+ - + diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.js b/dir_68267d1309a1af8e8297ef4c3efbcdba.js new file mode 100644 index 00000000..2c4db158 --- /dev/null +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.js @@ -0,0 +1,18 @@ +var dir_68267d1309a1af8e8297ef4c3efbcdba = +[ + [ "body.cpp", "body_8cpp.html", null ], + [ "camera2d.cpp", "camera2d_8cpp.html", null ], + [ "glslprogram.cpp", "glslprogram_8cpp.html", null ], + [ "imageloader.cpp", "imageloader_8cpp.html", null ], + [ "inputmanager.cpp", "inputmanager_8cpp.html", null ], + [ "iomanager.cpp", "iomanager_8cpp.html", null ], + [ "particlebody.cpp", "particlebody_8cpp.html", null ], + [ "picopng.cpp", "picopng_8cpp.html", "picopng_8cpp" ], + [ "rectanglecollider.cpp", "rectanglecollider_8cpp.html", null ], + [ "resourcemanager.cpp", "resourcemanager_8cpp.html", null ], + [ "rigidbody.cpp", "rigidbody_8cpp.html", null ], + [ "sprite.cpp", "sprite_8cpp.html", null ], + [ "spritebatch.cpp", "spritebatch_8cpp.html", null ], + [ "texturecache.cpp", "texturecache_8cpp.html", null ], + [ "window.cpp", "window_8cpp.html", null ] +]; \ No newline at end of file diff --git a/dir_8e90c754c88b453feb475845259c2098.html b/dir_8e90c754c88b453feb475845259c2098.html new file mode 100644 index 00000000..b6cb2765 --- /dev/null +++ b/dir_8e90c754c88b453feb475845259c2098.html @@ -0,0 +1,106 @@ + + + + + + + +YAGE: build/CMakeFiles/3.8.2/CompilerIdC Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
CompilerIdC Directory Reference
+
+
+ + + + +

+Files

file  CMakeCCompilerId.c
 
+
+
+ + + + diff --git a/dir_8e90c754c88b453feb475845259c2098.js b/dir_8e90c754c88b453feb475845259c2098.js new file mode 100644 index 00000000..7fd0961f --- /dev/null +++ b/dir_8e90c754c88b453feb475845259c2098.js @@ -0,0 +1,4 @@ +var dir_8e90c754c88b453feb475845259c2098 = +[ + [ "CMakeCCompilerId.c", "3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html", "3_88_82_2CompilerIdC_2CMakeCCompilerId_8c" ] +]; \ No newline at end of file diff --git a/dir_ad81410f9d1ae5b7784cd2823ee2ba40.html b/dir_ad81410f9d1ae5b7784cd2823ee2ba40.html new file mode 100644 index 00000000..bb9e190c --- /dev/null +++ b/dir_ad81410f9d1ae5b7784cd2823ee2ba40.html @@ -0,0 +1,106 @@ + + + + + + + +YAGE: build/CMakeFiles/3.9.1/CompilerIdCXX Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
CompilerIdCXX Directory Reference
+
+
+ + + + +

+Files

file  CMakeCXXCompilerId.cpp
 
+
+
+ + + + diff --git a/dir_ad81410f9d1ae5b7784cd2823ee2ba40.js b/dir_ad81410f9d1ae5b7784cd2823ee2ba40.js new file mode 100644 index 00000000..ecf6d643 --- /dev/null +++ b/dir_ad81410f9d1ae5b7784cd2823ee2ba40.js @@ -0,0 +1,4 @@ +var dir_ad81410f9d1ae5b7784cd2823ee2ba40 = +[ + [ "CMakeCXXCompilerId.cpp", "3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html", "3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp" ] +]; \ No newline at end of file diff --git a/dir_b233a2caca2b45d5ef987dbbf49782d0.html b/dir_b233a2caca2b45d5ef987dbbf49782d0.html index 85f63058..ea2cc870 100644 --- a/dir_b233a2caca2b45d5ef987dbbf49782d0.html +++ b/dir_b233a2caca2b45d5ef987dbbf49782d0.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
Physics Directory Reference
+ + + + + + + + + + + + + + + + +

+Files

file  body.hpp [code]
 
file  collider.hpp [code]
 
file  collisionbody.hpp [code]
 
file  particlebody.hpp [code]
 
file  physics.hpp [code]
 
file  rectanglecollider.hpp [code]
 
file  rigidbody.hpp [code]
 
+ - + diff --git a/dir_b233a2caca2b45d5ef987dbbf49782d0.js b/dir_b233a2caca2b45d5ef987dbbf49782d0.js new file mode 100644 index 00000000..e0000d91 --- /dev/null +++ b/dir_b233a2caca2b45d5ef987dbbf49782d0.js @@ -0,0 +1,22 @@ +var dir_b233a2caca2b45d5ef987dbbf49782d0 = +[ + [ "body.hpp", "body_8hpp.html", [ + [ "Body", "classyage_1_1Body.html", "classyage_1_1Body" ] + ] ], + [ "collider.hpp", "collider_8hpp.html", [ + [ "Collider", "classyage_1_1Collider.html", "classyage_1_1Collider" ] + ] ], + [ "collisionbody.hpp", "collisionbody_8hpp.html", [ + [ "CollisionBody", "classyage_1_1CollisionBody.html", "classyage_1_1CollisionBody" ] + ] ], + [ "particlebody.hpp", "particlebody_8hpp.html", [ + [ "ParticleBody", "classyage_1_1ParticleBody.html", "classyage_1_1ParticleBody" ] + ] ], + [ "physics.hpp", "physics_8hpp.html", null ], + [ "rectanglecollider.hpp", "rectanglecollider_8hpp.html", [ + [ "RectangleCollider", "classyage_1_1RectangleCollider.html", "classyage_1_1RectangleCollider" ] + ] ], + [ "rigidbody.hpp", "rigidbody_8hpp.html", [ + [ "RigidBody", "classyage_1_1RigidBody.html", "classyage_1_1RigidBody" ] + ] ] +]; \ No newline at end of file diff --git a/dir_ceeb13f05ef08a93b94560931d2b9bf7.html b/dir_ceeb13f05ef08a93b94560931d2b9bf7.html new file mode 100644 index 00000000..9c101d2d --- /dev/null +++ b/dir_ceeb13f05ef08a93b94560931d2b9bf7.html @@ -0,0 +1,106 @@ + + + + + + + +YAGE: build/CMakeFiles/3.8.2/CompilerIdCXX Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
CompilerIdCXX Directory Reference
+
+
+ + + + +

+Files

file  CMakeCXXCompilerId.cpp
 
+
+
+ + + + diff --git a/dir_ceeb13f05ef08a93b94560931d2b9bf7.js b/dir_ceeb13f05ef08a93b94560931d2b9bf7.js new file mode 100644 index 00000000..2159c1d1 --- /dev/null +++ b/dir_ceeb13f05ef08a93b94560931d2b9bf7.js @@ -0,0 +1,4 @@ +var dir_ceeb13f05ef08a93b94560931d2b9bf7 = +[ + [ "CMakeCXXCompilerId.cpp", "3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html", "3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp" ] +]; \ No newline at end of file diff --git a/dir_d44c64559bbebec7f509842c48db8b23.html b/dir_d44c64559bbebec7f509842c48db8b23.html index fddbcbd1..47267ca7 100644 --- a/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/dir_d44c64559bbebec7f509842c48db8b23.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
include Directory Reference
@@ -71,13 +88,19 @@ $(function() { + +

Directories

directory  YAGE
 
+ - + diff --git a/dir_d44c64559bbebec7f509842c48db8b23.js b/dir_d44c64559bbebec7f509842c48db8b23.js new file mode 100644 index 00000000..72315db9 --- /dev/null +++ b/dir_d44c64559bbebec7f509842c48db8b23.js @@ -0,0 +1,4 @@ +var dir_d44c64559bbebec7f509842c48db8b23 = +[ + [ "YAGE", "dir_f562165b51c585c003877be645f219b5.html", "dir_f562165b51c585c003877be645f219b5" ] +]; \ No newline at end of file diff --git a/dir_d5fb5e4b817e0b2df7871aa0bc9aec84.html b/dir_d5fb5e4b817e0b2df7871aa0bc9aec84.html new file mode 100644 index 00000000..d02c3fc8 --- /dev/null +++ b/dir_d5fb5e4b817e0b2df7871aa0bc9aec84.html @@ -0,0 +1,108 @@ + + + + + + + +YAGE: build/CMakeFiles/3.8.2 Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
3.8.2 Directory Reference
+
+
+ + + + + + +

+Directories

directory  CompilerIdC
 
directory  CompilerIdCXX
 
+
+
+ + + + diff --git a/dir_d5fb5e4b817e0b2df7871aa0bc9aec84.js b/dir_d5fb5e4b817e0b2df7871aa0bc9aec84.js new file mode 100644 index 00000000..9fd8f288 --- /dev/null +++ b/dir_d5fb5e4b817e0b2df7871aa0bc9aec84.js @@ -0,0 +1,5 @@ +var dir_d5fb5e4b817e0b2df7871aa0bc9aec84 = +[ + [ "CompilerIdC", "dir_8e90c754c88b453feb475845259c2098.html", "dir_8e90c754c88b453feb475845259c2098" ], + [ "CompilerIdCXX", "dir_ceeb13f05ef08a93b94560931d2b9bf7.html", "dir_ceeb13f05ef08a93b94560931d2b9bf7" ] +]; \ No newline at end of file diff --git a/dir_dca1da725f00c9a5c5acf81d64d7440f.html b/dir_dca1da725f00c9a5c5acf81d64d7440f.html new file mode 100644 index 00000000..fe6378ed --- /dev/null +++ b/dir_dca1da725f00c9a5c5acf81d64d7440f.html @@ -0,0 +1,108 @@ + + + + + + + +YAGE: build/CMakeFiles/3.9.1 Directory Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
3.9.1 Directory Reference
+
+
+ + + + + + +

+Directories

directory  CompilerIdC
 
directory  CompilerIdCXX
 
+
+
+ + + + diff --git a/dir_dca1da725f00c9a5c5acf81d64d7440f.js b/dir_dca1da725f00c9a5c5acf81d64d7440f.js new file mode 100644 index 00000000..22d9e014 --- /dev/null +++ b/dir_dca1da725f00c9a5c5acf81d64d7440f.js @@ -0,0 +1,5 @@ +var dir_dca1da725f00c9a5c5acf81d64d7440f = +[ + [ "CompilerIdC", "dir_512ea7c65b563979d81d0ae4ea681b6d.html", "dir_512ea7c65b563979d81d0ae4ea681b6d" ], + [ "CompilerIdCXX", "dir_ad81410f9d1ae5b7784cd2823ee2ba40.html", "dir_ad81410f9d1ae5b7784cd2823ee2ba40" ] +]; \ No newline at end of file diff --git a/dir_f562165b51c585c003877be645f219b5.html b/dir_f562165b51c585c003877be645f219b5.html index 00e8ea60..574a7a6b 100644 --- a/dir_f562165b51c585c003877be645f219b5.html +++ b/dir_f562165b51c585c003877be645f219b5.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
YAGE Directory Reference
@@ -71,13 +88,52 @@ $(function() { + + + + +

Directories

directory  Math
 
directory  Physics
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

file  camera2d.hpp [code]
 
file  glslprogram.hpp [code]
 
file  imageloader.hpp [code]
 
file  inputmanager.hpp [code]
 
file  iomanager.hpp [code]
 
file  picopng.hpp [code]
 
file  resourcemanager.hpp [code]
 
file  sprite.hpp [code]
 
file  spritebatch.hpp [code]
 
file  texture.hpp [code]
 
file  texturecache.hpp [code]
 
file  vertex.hpp [code]
 
file  window.hpp [code]
 
file  yage.hpp [code]
 
+ - + diff --git a/dir_f562165b51c585c003877be645f219b5.js b/dir_f562165b51c585c003877be645f219b5.js new file mode 100644 index 00000000..6f22883e --- /dev/null +++ b/dir_f562165b51c585c003877be645f219b5.js @@ -0,0 +1,46 @@ +var dir_f562165b51c585c003877be645f219b5 = +[ + [ "Math", "dir_5ac3a90c14a160db9539610948ce4998.html", "dir_5ac3a90c14a160db9539610948ce4998" ], + [ "Physics", "dir_b233a2caca2b45d5ef987dbbf49782d0.html", "dir_b233a2caca2b45d5ef987dbbf49782d0" ], + [ "camera2d.hpp", "camera2d_8hpp.html", [ + [ "Camera2D", "classyage_1_1Camera2D.html", "classyage_1_1Camera2D" ] + ] ], + [ "glslprogram.hpp", "glslprogram_8hpp.html", [ + [ "GlslProgram", "classyage_1_1GlslProgram.html", "classyage_1_1GlslProgram" ] + ] ], + [ "imageloader.hpp", "imageloader_8hpp.html", [ + [ "ImageLoader", "classyage_1_1ImageLoader.html", "classyage_1_1ImageLoader" ] + ] ], + [ "inputmanager.hpp", "inputmanager_8hpp.html", [ + [ "InputManager", "classyage_1_1InputManager.html", "classyage_1_1InputManager" ] + ] ], + [ "iomanager.hpp", "iomanager_8hpp.html", [ + [ "IoManager", "classyage_1_1IoManager.html", "classyage_1_1IoManager" ] + ] ], + [ "picopng.hpp", "picopng_8hpp.html", "picopng_8hpp" ], + [ "resourcemanager.hpp", "resourcemanager_8hpp.html", [ + [ "ResourceManager", "classyage_1_1ResourceManager.html", "classyage_1_1ResourceManager" ] + ] ], + [ "sprite.hpp", "sprite_8hpp.html", [ + [ "Sprite", "classyage_1_1Sprite.html", "classyage_1_1Sprite" ] + ] ], + [ "spritebatch.hpp", "spritebatch_8hpp.html", [ + [ "Glyph", "classyage_1_1Glyph.html", "classyage_1_1Glyph" ], + [ "RenderBatch", "classyage_1_1RenderBatch.html", "classyage_1_1RenderBatch" ], + [ "SpriteBatch", "classyage_1_1SpriteBatch.html", "classyage_1_1SpriteBatch" ] + ] ], + [ "texture.hpp", "texture_8hpp.html", [ + [ "Texture", "structyage_1_1Texture.html", "structyage_1_1Texture" ] + ] ], + [ "texturecache.hpp", "texturecache_8hpp.html", [ + [ "TextureCache", "classyage_1_1TextureCache.html", "classyage_1_1TextureCache" ] + ] ], + [ "vertex.hpp", "vertex_8hpp.html", [ + [ "Position", "structyage_1_1Position.html", "structyage_1_1Position" ], + [ "Color", "structyage_1_1Color.html", "structyage_1_1Color" ], + [ "UV", "structyage_1_1UV.html", "structyage_1_1UV" ], + [ "Vertex", "structyage_1_1Vertex.html", "structyage_1_1Vertex" ] + ] ], + [ "window.hpp", "window_8hpp.html", "window_8hpp" ], + [ "yage.hpp", "yage_8hpp.html", "yage_8hpp" ] +]; \ No newline at end of file diff --git a/docs_2README_8md.html b/docs_2README_8md.html new file mode 100644 index 00000000..a8c7ef9c --- /dev/null +++ b/docs_2README_8md.html @@ -0,0 +1,100 @@ + + + + + + + +YAGE: docs/README.md File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
docs/README.md File Reference
+
+
+
+
+ + + + diff --git a/feature__tests_8c.html b/feature__tests_8c.html new file mode 100644 index 00000000..34c76cd9 --- /dev/null +++ b/feature__tests_8c.html @@ -0,0 +1,158 @@ + + + + + + + +YAGE: build/CMakeFiles/feature_tests.c File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
feature_tests.c File Reference
+
+
+ + + + +

+Functions

int main (int argc, char **argv)
 
+ + + +

+Variables

const char features []
 
+

Function Documentation

+ +

◆ main()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int argc,
char ** argv 
)
+
+ +
+
+

Variable Documentation

+ +

◆ features

+ +
+
+ + + + +
const char features[]
+
+ +
+
+
+
+ + + + diff --git a/feature__tests_8c.js b/feature__tests_8c.js new file mode 100644 index 00000000..83b727d8 --- /dev/null +++ b/feature__tests_8c.js @@ -0,0 +1,5 @@ +var feature__tests_8c = +[ + [ "main", "feature__tests_8c.html#a3c04138a5bfe5d72780bb7e82a18e627", null ], + [ "features", "feature__tests_8c.html#a1582568e32f689337602a16bf8a5bff0", null ] +]; \ No newline at end of file diff --git a/feature__tests_8cxx.html b/feature__tests_8cxx.html new file mode 100644 index 00000000..39e2669d --- /dev/null +++ b/feature__tests_8cxx.html @@ -0,0 +1,158 @@ + + + + + + + +YAGE: build/CMakeFiles/feature_tests.cxx File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
feature_tests.cxx File Reference
+
+
+ + + + +

+Functions

int main (int argc, char **argv)
 
+ + + +

+Variables

const char features []
 
+

Function Documentation

+ +

◆ main()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int argc,
char ** argv 
)
+
+ +
+
+

Variable Documentation

+ +

◆ features

+ +
+
+ + + + +
const char features[]
+
+ +
+
+
+
+ + + + diff --git a/feature__tests_8cxx.js b/feature__tests_8cxx.js new file mode 100644 index 00000000..963471bb --- /dev/null +++ b/feature__tests_8cxx.js @@ -0,0 +1,5 @@ +var feature__tests_8cxx = +[ + [ "main", "feature__tests_8cxx.html#a3c04138a5bfe5d72780bb7e82a18e627", null ], + [ "features", "feature__tests_8cxx.html#a1582568e32f689337602a16bf8a5bff0", null ] +]; \ No newline at end of file diff --git a/files.html b/files.html index 28800373..0cffcbc3 100644 --- a/files.html +++ b/files.html @@ -9,6 +9,13 @@ + + + + + @@ -45,6 +52,20 @@ $(function() { +
+ +
+
+
+ +
File List
-
Here is a list of all documented files with brief descriptions:
-
[detail level 1234]
- - - - - - - - - - - - - - - - - - - - - - - - - - - +
Here is a list of all files with brief descriptions:
+
[detail level 12345]
  include
  YAGE
  Math
 math.hpp
 matrix.hppTemplated matrix class
  Physics
 body.hpp
 collider.hpp
 collisionbody.hpp
 particlebody.hpp
 physics.hpp
 rectanglecollider.hpp
 rigidbody.hpp
 camera2d.hpp
 glslprogram.hpp
 imageloader.hpp
 inputmanager.hpp
 iomanager.hpp
 picopng.hpp
 resourcemanager.hpp
 sprite.hpp
 spritebatch.hpp
 texture.hpp
 texturecache.hpp
 vertex.hpp
 window.hpp
 yage.hpp
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  build
  CMakeFiles
  3.8.2
  CompilerIdC
 CMakeCCompilerId.c
  CompilerIdCXX
 CMakeCXXCompilerId.cpp
  3.9.1
  CompilerIdC
 CMakeCCompilerId.c
  CompilerIdCXX
 CMakeCXXCompilerId.cpp
 feature_tests.c
 feature_tests.cxx
  include
  YAGE
  Math
 math.hpp
 matrix.hpp
  Physics
 body.hpp
 collider.hpp
 collisionbody.hpp
 particlebody.hpp
 physics.hpp
 rectanglecollider.hpp
 rigidbody.hpp
 camera2d.hpp
 glslprogram.hpp
 imageloader.hpp
 inputmanager.hpp
 iomanager.hpp
 picopng.hpp
 resourcemanager.hpp
 sprite.hpp
 spritebatch.hpp
 texture.hpp
 texturecache.hpp
 vertex.hpp
 window.hpp
 yage.hpp
  src
 body.cpp
 camera2d.cpp
 glslprogram.cpp
 imageloader.cpp
 inputmanager.cpp
 iomanager.cpp
 particlebody.cpp
 picopng.cpp
 rectanglecollider.cpp
 resourcemanager.cpp
 rigidbody.cpp
 sprite.cpp
 spritebatch.cpp
 texturecache.cpp
 window.cpp
  test
 matrixtest.cpp
 particlebodytest.cpp
 windowtest.cpp
 yagetest.cpp
+ - + diff --git a/files.js b/files.js new file mode 100644 index 00000000..7d1bd2a0 --- /dev/null +++ b/files.js @@ -0,0 +1,7 @@ +var files = +[ + [ "build", "dir_4fef79e7177ba769987a8da36c892c5f.html", "dir_4fef79e7177ba769987a8da36c892c5f" ], + [ "include", "dir_d44c64559bbebec7f509842c48db8b23.html", "dir_d44c64559bbebec7f509842c48db8b23" ], + [ "src", "dir_68267d1309a1af8e8297ef4c3efbcdba.html", "dir_68267d1309a1af8e8297ef4c3efbcdba" ], + [ "test", "dir_13e138d54eb8818da29c3992edef070a.html", "dir_13e138d54eb8818da29c3992edef070a" ] +]; \ No newline at end of file diff --git a/functions.html b/functions.html index d0a6c55e..80b0e51a 100644 --- a/functions.html +++ b/functions.html @@ -9,6 +9,13 @@ + + + + + @@ -45,6 +52,20 @@ $(function() { +
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
- + diff --git a/functions_func.html b/functions_func.html index 78396290..c1ef5a8f 100644 --- a/functions_func.html +++ b/functions_func.html @@ -9,6 +9,13 @@ + + + + + @@ -45,6 +52,20 @@ $(function() {
+
+ +
+
+
+ +
+
- + diff --git a/functions_rela.html b/functions_rela.html new file mode 100644 index 00000000..8caca0df --- /dev/null +++ b/functions_rela.html @@ -0,0 +1,100 @@ + + + + + + + +YAGE: Class Members - Related Functions + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
+ + + + diff --git a/functions_vars.html b/functions_vars.html index 28dd8ef6..8b8cb8e9 100644 --- a/functions_vars.html +++ b/functions_vars.html @@ -9,6 +9,13 @@ + + + + + @@ -45,6 +52,20 @@ $(function() {
+
+ +
+
+
+ +
+
- + diff --git a/globals.html b/globals.html new file mode 100644 index 00000000..f2538bf6 --- /dev/null +++ b/globals.html @@ -0,0 +1,249 @@ + + + + + + + +YAGE: File Members + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all file members with links to the files they belong to:
+ +

- a -

+ + +

- c -

+ + +

- d -

+ + +

- f -

+ + +

- g -

+ + +

- h -

+ + +

- i -

+ + +

- m -

+ + +

- p -

+ + +

- s -

+ + +

- t -

+ + +

- v -

+
+
+ + + + diff --git a/globals_defs.html b/globals_defs.html new file mode 100644 index 00000000..b1090d45 --- /dev/null +++ b/globals_defs.html @@ -0,0 +1,142 @@ + + + + + + + +YAGE: File Members + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ + + + + + diff --git a/globals_func.html b/globals_func.html new file mode 100644 index 00000000..cc075874 --- /dev/null +++ b/globals_func.html @@ -0,0 +1,130 @@ + + + + + + + +YAGE: File Members + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
+ + + + diff --git a/globals_vars.html b/globals_vars.html new file mode 100644 index 00000000..b22a6f11 --- /dev/null +++ b/globals_vars.html @@ -0,0 +1,125 @@ + + + + + + + +YAGE: File Members + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ + + + + + diff --git a/glslprogram_8cpp.html b/glslprogram_8cpp.html new file mode 100644 index 00000000..e24b4b34 --- /dev/null +++ b/glslprogram_8cpp.html @@ -0,0 +1,113 @@ + + + + + + + +YAGE: src/glslprogram.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
glslprogram.cpp File Reference
+
+
+
#include "glslprogram.hpp"
+#include <fstream>
+#include <stdexcept>
+#include <vector>
+
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/glslprogram_8hpp.html b/glslprogram_8hpp.html new file mode 100644 index 00000000..223336be --- /dev/null +++ b/glslprogram_8hpp.html @@ -0,0 +1,119 @@ + + + + + + + +YAGE: include/YAGE/glslprogram.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
glslprogram.hpp File Reference
+
+
+
#include <GL/glew.h>
+#include <string>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::GlslProgram
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/glslprogram_8hpp_source.html b/glslprogram_8hpp_source.html index 68587eb0..e3572aa2 100644 --- a/glslprogram_8hpp_source.html +++ b/glslprogram_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); +
+
+ +
+
+
+ +
- -
glslprogram.hpp
-
1 /* ----------------------------------------------------------------------------
2  * glslprogram.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef GLSL_PROGRAM_HPP
10 #define GLSL_PROGRAM_HPP
11 
12 #include <GL/glew.h>
13 
14 #include <string>
15 
16 namespace yage {
17 
18 class GlslProgram {
19 private:
21  GLuint program_id_ = 0;
22  GLuint vertex_shader_id_ = 0;
23  GLuint fragment_shader_id_ = 0;
24  int attribute_index_ = 0;
25 
27  void compileShader(const GLuint& shader, const std::string& file_path);
28 
29 public:
30  GlslProgram() = default;
31  GlslProgram(const GlslProgram&) = delete;
32  GlslProgram(GlslProgram&&) = delete;
33  ~GlslProgram();
34 
35  GlslProgram& operator=(const GlslProgram&) = delete;
36  GlslProgram& operator=(GlslProgram&&) = delete;
37 
39  void compileShaders(const std::string& vertex_shader_path,
40  const std::string& fragment_shader_path);
41  void linkShaders();
42  void addAttribute(const std::string& attribute_name);
43  GLint getUniformLocation(const std::string& uniform_name);
44  void use();
45  void unuse();
46 };
47 
48 } // yage
49 
50 #endif
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * glslprogram.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef GLSL_PROGRAM_HPP
10 #define GLSL_PROGRAM_HPP
11 
12 #include <GL/glew.h>
13 
14 #include <string>
15 
16 namespace yage {
17 
18 class GlslProgram {
19 private:
21  GLuint program_id_ = 0;
22  GLuint vertex_shader_id_ = 0;
23  GLuint fragment_shader_id_ = 0;
25 
27  void compileShader(const GLuint& shader, const std::string& file_path);
28 
29 public:
30  GlslProgram() = default;
31  GlslProgram(const GlslProgram&) = delete;
32  GlslProgram(GlslProgram&&) = delete;
33  ~GlslProgram();
34 
35  GlslProgram& operator=(const GlslProgram&) = delete;
36  GlslProgram& operator=(GlslProgram&&) = delete;
37 
39  void compileShaders(const std::string& vertex_shader_path,
40  const std::string& fragment_shader_path);
41  void linkShaders();
42  void addAttribute(const std::string& attribute_name);
43  GLint getUniformLocation(const std::string& uniform_name);
44  void use();
45  void unuse();
46 };
47 
48 } // yage
49 
50 #endif
void unuse()
Definition: glslprogram.cpp:132
+
int attribute_index_
Definition: glslprogram.hpp:24
+
Definition: glslprogram.hpp:18
+
void compileShaders(const std::string &vertex_shader_path, const std::string &fragment_shader_path)
compiles vertex and fragment shader
Definition: glslprogram.cpp:63
+
~GlslProgram()
Definition: glslprogram.cpp:17
+
GlslProgram()=default
+
GLuint program_id_
compiled shader program id
Definition: glslprogram.hpp:21
+
void linkShaders()
Definition: glslprogram.cpp:83
+
GLuint fragment_shader_id_
Definition: glslprogram.hpp:23
+
void addAttribute(const std::string &attribute_name)
Definition: glslprogram.cpp:115
+
void compileShader(const GLuint &shader, const std::string &file_path)
compiles one shader
Definition: glslprogram.cpp:26
+
void use()
Definition: glslprogram.cpp:127
+
Templated matrix class.
Definition: camera2d.hpp:17
+
GLuint vertex_shader_id_
Definition: glslprogram.hpp:22
+
GlslProgram & operator=(const GlslProgram &)=delete
+
GLint getUniformLocation(const std::string &uniform_name)
Definition: glslprogram.cpp:120
+
- + diff --git a/hierarchy.html b/hierarchy.html index def36f3b..db8462a0 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -9,6 +9,13 @@ + + + + + @@ -45,6 +52,20 @@ $(function() { +
+ +
+
+
+ +
- + diff --git a/hierarchy.js b/hierarchy.js new file mode 100644 index 00000000..63bc401c --- /dev/null +++ b/hierarchy.js @@ -0,0 +1,42 @@ +var hierarchy = +[ + [ "yage::Body", "classyage_1_1Body.html", [ + [ "yage::CollisionBody", "classyage_1_1CollisionBody.html", null ], + [ "yage::ParticleBody", "classyage_1_1ParticleBody.html", [ + [ "yage::RigidBody", "classyage_1_1RigidBody.html", null ] + ] ] + ] ], + [ "yage::Camera2D", "classyage_1_1Camera2D.html", null ], + [ "yage::Collider", "classyage_1_1Collider.html", [ + [ "yage::RectangleCollider", "classyage_1_1RectangleCollider.html", null ] + ] ], + [ "yage::Color", "structyage_1_1Color.html", null ], + [ "yage::GlslProgram", "classyage_1_1GlslProgram.html", null ], + [ "yage::Glyph", "classyage_1_1Glyph.html", null ], + [ "yage::ImageLoader", "classyage_1_1ImageLoader.html", null ], + [ "yage::InputManager", "classyage_1_1InputManager.html", null ], + [ "yage::IoManager", "classyage_1_1IoManager.html", null ], + [ "yage::Matrix< Rows, Cols, Type >", "classyage_1_1Matrix.html", null ], + [ "yage::Matrix< Rows, 1, double >", "classyage_1_1Matrix.html", [ + [ "yage::Vector< 2, double >", "classyage_1_1Vector.html", [ + [ "yage::Vector2< double >", "classyage_1_1Vector2.html", null ] + ] ] + ] ], + [ "yage::Matrix< Rows, 1, Type >", "classyage_1_1Matrix.html", [ + [ "yage::Vector< 2, Type >", "classyage_1_1Vector.html", [ + [ "yage::Vector2< Type >", "classyage_1_1Vector2.html", null ] + ] ], + [ "yage::Vector< Rows, Type >", "classyage_1_1Vector.html", null ] + ] ], + [ "yage::Position", "structyage_1_1Position.html", null ], + [ "yage::RenderBatch", "classyage_1_1RenderBatch.html", null ], + [ "yage::ResourceManager", "classyage_1_1ResourceManager.html", null ], + [ "yage::detail::Row< Rows, Cols, Type >", "classyage_1_1detail_1_1Row.html", null ], + [ "yage::Sprite", "classyage_1_1Sprite.html", null ], + [ "yage::SpriteBatch", "classyage_1_1SpriteBatch.html", null ], + [ "yage::Texture", "structyage_1_1Texture.html", null ], + [ "yage::TextureCache", "classyage_1_1TextureCache.html", null ], + [ "yage::UV", "structyage_1_1UV.html", null ], + [ "yage::Vertex", "structyage_1_1Vertex.html", null ], + [ "yage::Window", "classyage_1_1Window.html", null ] +]; \ No newline at end of file diff --git a/imageloader_8cpp.html b/imageloader_8cpp.html new file mode 100644 index 00000000..6e842766 --- /dev/null +++ b/imageloader_8cpp.html @@ -0,0 +1,113 @@ + + + + + + + +YAGE: src/imageloader.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
imageloader.cpp File Reference
+
+
+
#include "imageloader.hpp"
+#include "iomanager.hpp"
+#include "picopng.hpp"
+#include <stdexcept>
+
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/imageloader_8hpp.html b/imageloader_8hpp.html new file mode 100644 index 00000000..8b866e22 --- /dev/null +++ b/imageloader_8hpp.html @@ -0,0 +1,119 @@ + + + + + + + +YAGE: include/YAGE/imageloader.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
imageloader.hpp File Reference
+
+
+
#include "texture.hpp"
+#include <string>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::ImageLoader
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/imageloader_8hpp_source.html b/imageloader_8hpp_source.html index 42649bed..2c755935 100644 --- a/imageloader_8hpp_source.html +++ b/imageloader_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); +
+
+ +
+
+
+ +
- -
imageloader.hpp
-
1 /* ----------------------------------------------------------------------------
2  * imageloader.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef IMAGE_LOADER_HPP
10 #define IMAGE_LOADER_HPP
11 
12 #include "texture.hpp"
13 
14 #include <string>
15 
16 namespace yage {
17 
18 class ImageLoader {
19 public:
20  static Texture loadPng(const std::string& file_path);
21 };
22 
23 } // yage
24 
25 #endif
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * imageloader.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef IMAGE_LOADER_HPP
10 #define IMAGE_LOADER_HPP
11 
12 #include "texture.hpp"
13 
14 #include <string>
15 
16 namespace yage {
17 
18 class ImageLoader {
19 public:
20  static Texture loadPng(const std::string& file_path);
21 };
22 
23 } // yage
24 
25 #endif
Definition: imageloader.hpp:18
+
static Texture loadPng(const std::string &file_path)
Definition: imageloader.cpp:18
+ +
Definition: texture.hpp:16
+
Templated matrix class.
Definition: camera2d.hpp:17
+
- + diff --git a/index.html b/index.html index dac957b2..d7bc3af2 100644 --- a/index.html +++ b/index.html @@ -9,6 +9,13 @@ + + + + + @@ -45,6 +52,20 @@ $(function() { +
+ +
+
+
+ +
+
- + diff --git a/inputmanager_8cpp.html b/inputmanager_8cpp.html new file mode 100644 index 00000000..743e2b86 --- /dev/null +++ b/inputmanager_8cpp.html @@ -0,0 +1,110 @@ + + + + + + + +YAGE: src/inputmanager.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
inputmanager.cpp File Reference
+
+
+
#include "inputmanager.hpp"
+
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/inputmanager_8hpp.html b/inputmanager_8hpp.html new file mode 100644 index 00000000..9c0763c2 --- /dev/null +++ b/inputmanager_8hpp.html @@ -0,0 +1,118 @@ + + + + + + + +YAGE: include/YAGE/inputmanager.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
inputmanager.hpp File Reference
+
+
+
#include <unordered_map>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::InputManager
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/inputmanager_8hpp_source.html b/inputmanager_8hpp_source.html index 7344aa87..4793a4be 100644 --- a/inputmanager_8hpp_source.html +++ b/inputmanager_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); +
+
+ +
+
+
+ +
- -
inputmanager.hpp
-
1 /* ----------------------------------------------------------------------------
2  * inputmanager.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef INPUT_MANAGER_HPP
10 #define INPUT_MANAGER_HPP
11 
12 #include <unordered_map>
13 
14 namespace yage
15 {
16 
17 class InputManager
18 {
19 private:
20  std::unordered_map<unsigned, bool> key_map_;
21 
22 public:
23  void keyPressed(unsigned key);
24  void keyReleased(unsigned key);
25  bool isKeyPressed(unsigned key) const;
26 };
27 
28 }
29 #endif
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * inputmanager.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef INPUT_MANAGER_HPP
10 #define INPUT_MANAGER_HPP
11 
12 #include <unordered_map>
13 
14 namespace yage
15 {
16 
18 {
19 private:
20  std::unordered_map<unsigned, bool> key_map_;
21 
22 public:
23  void keyPressed(unsigned key);
24  void keyReleased(unsigned key);
25  bool isKeyPressed(unsigned key) const;
26 };
27 
28 }
29 #endif
void keyReleased(unsigned key)
Definition: inputmanager.cpp:15
+
Definition: inputmanager.hpp:17
+
void keyPressed(unsigned key)
Definition: inputmanager.cpp:13
+
std::unordered_map< unsigned, bool > key_map_
Definition: inputmanager.hpp:20
+
bool isKeyPressed(unsigned key) const
Definition: inputmanager.cpp:17
+
Templated matrix class.
Definition: camera2d.hpp:17
+
- + diff --git a/iomanager_8cpp.html b/iomanager_8cpp.html new file mode 100644 index 00000000..73aa3f46 --- /dev/null +++ b/iomanager_8cpp.html @@ -0,0 +1,112 @@ + + + + + + + +YAGE: src/iomanager.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
iomanager.cpp File Reference
+
+
+
#include "iomanager.hpp"
+#include <fstream>
+#include <stdexcept>
+
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/iomanager_8hpp.html b/iomanager_8hpp.html new file mode 100644 index 00000000..e8bc5102 --- /dev/null +++ b/iomanager_8hpp.html @@ -0,0 +1,119 @@ + + + + + + + +YAGE: include/YAGE/iomanager.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
iomanager.hpp File Reference
+
+
+
#include <string>
+#include <vector>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::IoManager
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/iomanager_8hpp_source.html b/iomanager_8hpp_source.html index 6a9a8160..22f1b5ac 100644 --- a/iomanager_8hpp_source.html +++ b/iomanager_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
iomanager.hpp
-
1 /* ----------------------------------------------------------------------------
2  * iomanager.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef IO_MANAGER_HPP
10 #define IO_MANAGER_HPP
11 
12 #include <string>
13 #include <vector>
14 
15 namespace yage {
16 
17 class IoManager {
18 public:
19  static bool readFileToBuffer(const std::string &file_path,
20  std::vector<unsigned char> &buffer);
21 };
22 
23 } // yage
24 
25 #endif
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * iomanager.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef IO_MANAGER_HPP
10 #define IO_MANAGER_HPP
11 
12 #include <string>
13 #include <vector>
14 
15 namespace yage {
16 
17 class IoManager {
18 public:
19  static bool readFileToBuffer(const std::string &file_path,
20  std::vector<unsigned char> &buffer);
21 };
22 
23 } // yage
24 
25 #endif
static bool readFileToBuffer(const std::string &file_path, std::vector< unsigned char > &buffer)
Definition: iomanager.cpp:16
+
Definition: iomanager.hpp:17
+
Templated matrix class.
Definition: camera2d.hpp:17
+
- + diff --git a/math_8hpp.html b/math_8hpp.html new file mode 100644 index 00000000..0d502435 --- /dev/null +++ b/math_8hpp.html @@ -0,0 +1,103 @@ + + + + + + + +YAGE: include/YAGE/Math/math.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
math.hpp File Reference
+
+ +
+ + + + diff --git a/math_8hpp_source.html b/math_8hpp_source.html index fb357a91..755c977d 100644 --- a/math_8hpp_source.html +++ b/math_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
math.hpp
-
1 /* ----------------------------------------------------------------------------
2  * math.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_MATH_HPP
10 #define YAGE_MATH_HPP
11 
12 #include "matrix.hpp"
13 
14 #endif
Templated matrix class.
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * math.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_MATH_HPP
10 #define YAGE_MATH_HPP
11 
12 #include "matrix.hpp"
13 
14 #endif
+
- + diff --git a/matrix_8hpp.html b/matrix_8hpp.html index 6cebe7ac..24bfb87d 100644 --- a/matrix_8hpp.html +++ b/matrix_8hpp.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
Classes | @@ -73,9 +90,6 @@ $(function() {
matrix.hpp File Reference
- -

Templated matrix class. -More...

#include <algorithm>
#include <exception>
#include <iostream>
@@ -90,28 +104,69 @@ Classes class  yage::Matrix< Rows, Cols, Type >  Base Matrix class used by other similar classes. More...
  +class  yage::detail::Row< Rows, Cols, Type > +  class  yage::Matrix< Rows, Cols, Type >  Base Matrix class used by other similar classes. More...
  +class  yage::Vector< Rows, Type > +  class  yage::Vector2< Type > - 2D Vector class. More...
+ 2D Vector class. More...
  + + + + +

Namespaces

 yage
 Templated matrix class.
 
 yage::detail
 
 yage::matrix
 Namespace containing functions that operate on matrices.
 
- - - + + +

Typedefs

-typedef Vector2< double > yage::Vector2d
 Definition of a 2D vector.
 
using yage::Vector2d = Vector2< double >
 Definition of a 2D vector. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -125,16 +180,16 @@ Functions

Functions

template<int M, int N, class T >
Matrix< M, N, T > yage::operator+ (Matrix< M, N, T > lhs, const Matrix< M, N, T > &rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > yage::operator- (Matrix< M, N, T > lhs, const Matrix< M, N, T > &rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > yage::operator+ (Matrix< M, N, T > lhs, const T &rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > yage::operator+ (const T &lhs, Matrix< M, N, T > rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > yage::operator- (Matrix< M, N, T > lhs, const T &rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > yage::operator- (const T &lhs, Matrix< M, N, T > rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > yage::operator* (Matrix< M, N, T > lhs, const T &rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > yage::operator* (const T &lhs, Matrix< M, N, T > rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > yage::operator/ (Matrix< M, N, T > lhs, const T &rhs)
 
template<int M, int N, class T >
bool yage::operator== (const Matrix< M, N, T > &lhs, const Matrix< M, N, T > &rhs)
 
template<int M, int N, class T >
std::ostream & yage::operator<< (std::ostream &os, const Matrix< M, N, T > &mat)
 
template<int M, int N, class T >
Matrix< N, M, T > yage::matrix::transpose (const Matrix< M, N, T > &m)
 Transposes a matrix and returns the result. More...
 Multiplies two matrices together. More...
 
-

Detailed Description

-

Templated matrix class.

-

Matrix

-

This is a very general matrix class that can then be inherited by vectors and other similar data structures to minimize code density.

-
+
+ - + diff --git a/matrix_8hpp.js b/matrix_8hpp.js new file mode 100644 index 00000000..e3e6e0a4 --- /dev/null +++ b/matrix_8hpp.js @@ -0,0 +1,23 @@ +var matrix_8hpp = +[ + [ "Matrix", "classyage_1_1Matrix.html", "classyage_1_1Matrix" ], + [ "Row", "classyage_1_1detail_1_1Row.html", "classyage_1_1detail_1_1Row" ], + [ "Matrix", "classyage_1_1Matrix.html", "classyage_1_1Matrix" ], + [ "Vector", "classyage_1_1Vector.html", "classyage_1_1Vector" ], + [ "Vector2", "classyage_1_1Vector2.html", "classyage_1_1Vector2" ], + [ "Vector2d", "matrix_8hpp.html#a23eef341099a6b2816cf0c63f8ffe898", null ], + [ "dot", "matrix_8hpp.html#ac4d2f55a5c3369ec42001776a582c30a", null ], + [ "multiply", "matrix_8hpp.html#a277125ad9fa06a7119c59d350e129985", null ], + [ "operator*", "matrix_8hpp.html#ad8903f6a93ac89f16846458540717507", null ], + [ "operator*", "matrix_8hpp.html#a090cbd6b767b583364e9cbe78d8a8d5a", null ], + [ "operator+", "matrix_8hpp.html#a226cc29763f745fd175844f4263d5dae", null ], + [ "operator+", "matrix_8hpp.html#a6b77afaa1cd077df90b9daccbfc2cbae", null ], + [ "operator+", "matrix_8hpp.html#a947133b8fc764d9fc5c5d8b08821cf32", null ], + [ "operator-", "matrix_8hpp.html#a2187fb11298a029f2877702192717090", null ], + [ "operator-", "matrix_8hpp.html#a8a9db24697f649f6d19f0347330d95fe", null ], + [ "operator-", "matrix_8hpp.html#ad9344d41af72f29cd6f8cf1ef62ed3cc", null ], + [ "operator/", "matrix_8hpp.html#acca4a23afb94173695bbc1e1f2cde2b3", null ], + [ "operator<<", "matrix_8hpp.html#a7ed614bc9d3e8b9f3f8d32b6a7ff28eb", null ], + [ "operator==", "matrix_8hpp.html#a5ddd829cb1c7c4c880d0fd53326858fe", null ], + [ "transpose", "matrix_8hpp.html#a62de4b4b6bab23717d957c370f2e41c7", null ] +]; \ No newline at end of file diff --git a/matrix_8hpp_source.html b/matrix_8hpp_source.html index 2d51d501..7e0cdd85 100644 --- a/matrix_8hpp_source.html +++ b/matrix_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
matrix.hpp
-Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * matrix.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
19 #ifndef YAGE_MATH_MATRIX_HPP
20 #define YAGE_MATH_MATRIX_HPP
21 
22 #include <algorithm>
23 #include <exception>
24 #include <iostream>
25 #include <sstream>
26 #include <string>
27 #include <vector>
28 
29 namespace yage {
30 
31 template <int Rows, int Cols, class Type>
32 class Matrix;
33 
41 namespace detail {
42 
51 template <int Rows, int Cols, class Type>
52 class Row {
53 private:
54  Matrix<Rows, Cols, Type>* parent_;
55  int index_;
56 
57 public:
58  Row<Rows, Cols, Type>(Matrix<Rows, Cols, Type>* parent, int index)
59  : parent_(parent), index_(index) {}
60 
61  Type& operator[](int col) {
62  // the index is the y-position of the element in the matrix
63  return parent_->data_[index_ * Cols + col];
64  }
65 
66  const Type& operator[](int col) const {
67  return parent_->data_[index_ * Cols + col];
68  }
69 };
70 
71 } // detail
72 
81 template <int Rows = 4, int Cols = 4, class Type = double>
82 class Matrix {
83  // friended with the row class so that it can access protected member data
84  friend class detail::Row<Rows, Cols, Type>;
85 
86 protected:
88  std::vector<Type> data_;
89 
90 public:
92  Matrix<Rows, Cols, Type>() : data_(Rows * Cols) {}
93  Matrix<Rows, Cols, Type>(const std::vector<Type>& data) : data_(data) {}
94 
96  int rowSize() const { return Rows; }
97 
99  int colSize() const { return Cols; }
100 
107  Matrix<1, Cols, Type> getRow(int row) const {
108  Matrix<1, Cols, Type> rowMatrix;
109  for (int i = 0; i < Cols; ++i) {
110  rowMatrix[0][i] = data_[row][i];
111  }
112  return rowMatrix;
113  }
114 
115  // returns the column in a column matrix
116  Matrix<Rows, 1, Type> getCol(int col) const {
117  Matrix<Rows, 1, Type> colMatrix;
118  for (int i = 0; i < Rows; ++i) {
119  colMatrix[i][0] = data_[i][col];
120  }
121  return colMatrix;
122  }
123 
125  typename std::vector<Type>::iterator begin() { return data_.begin(); }
126 
128  typename std::vector<Type>::iterator end() { return data_.end(); }
129 
133  virtual std::string toString() const {
134  std::stringstream ss;
135  ss << '[';
136  for (int i = 0; i < Rows - 1; ++i) {
137  ss << '[';
138  for (int j = 0; j < Cols - 1; ++j) {
139  ss << data_[i * Cols + j] << ' ';
140  }
141  ss << data_[(Rows - 1) * Cols + Cols - 1] << "],";
142  }
143  ss << '[';
144  for (int j = 0; j < Cols - 1; ++j) {
145  ss << data_[(Rows - 1) * Cols + j] << ' ';
146  }
147  ss << data_[(Rows - 1) * Cols + Cols - 1] << "]]";
148  return ss.str();
149  }
150 
151  detail::Row<Rows, Cols, Type> operator[](int row) {
152  return detail::Row<Rows, Cols, Type>(this, row);
153  }
154 
155  detail::Row<Rows, Cols, Type> operator[](int row) const {
156  // TODO got to fix this
157  return detail::Row<Rows, Cols, Type>((Matrix<Rows, Cols, Type>*)this,
158  row);
159  }
160 
161  Matrix<Rows, Cols, Type>& operator+=(const Matrix<Rows, Cols, Type>& rhs) {
162  std::vector<Type> out;
163  out.reserve(data_.size());
164  std::transform(data_.begin(), data_.end(), rhs.data_.begin(),
165  std::back_inserter(out),
166  [](Type a, Type b) { return a + b; });
167  data_ = std::move(out);
168  return *this;
169  }
170 
171  Matrix<Rows, Cols, Type>& operator-=(const Matrix<Rows, Cols, Type>& rhs) {
172  std::vector<Type> out;
173  out.reserve(data_.size());
174  std::transform(data_.begin(), data_.end(), rhs.begin(),
175  std::back_inserter(out),
176  [](Type a, Type b) { return a - b; });
177  data_ = std::move(out);
178  return *this;
179  }
180 };
181 
182 template <int M, int N, class T>
183 Matrix<M, N, T> operator+(Matrix<M, N, T> lhs, const Matrix<M, N, T>& rhs) {
184  lhs += rhs;
185  return lhs;
186 }
187 
188 template <int M, int N, class T>
189 Matrix<M, N, T> operator-(Matrix<M, N, T> lhs, const Matrix<M, N, T>& rhs) {
190  lhs -= rhs;
191  return lhs;
192 }
193 
194 template <int M, int N, class T>
195 Matrix<M, N, T> operator+(Matrix<M, N, T> lhs, const T& rhs) {
196  for (auto& data : lhs) {
197  data += rhs;
198  }
199  return lhs;
200 }
201 
202 template <int M, int N, class T>
203 Matrix<M, N, T> operator+(const T& lhs, Matrix<M, N, T> rhs) {
204  for (auto& data : rhs) {
205  data += lhs;
206  }
207  return rhs;
208 }
209 
210 template <int M, int N, class T>
211 Matrix<M, N, T> operator-(Matrix<M, N, T> lhs, const T& rhs) {
212  for (auto& data : lhs) {
213  data -= rhs;
214  }
215  return lhs;
216 }
217 
218 template <int M, int N, class T>
219 Matrix<M, N, T> operator-(const T& lhs, Matrix<M, N, T> rhs) {
220  for (auto& data : rhs) {
221  data = lhs - data;
222  }
223  return rhs;
224 }
225 
226 template <int M, int N, class T>
227 Matrix<M, N, T> operator*(Matrix<M, N, T> lhs, const T& rhs) {
228  for (auto& data : lhs) {
229  data *= rhs;
230  }
231  return lhs;
232 }
233 
234 template <int M, int N, class T>
235 Matrix<M, N, T> operator*(const T& lhs, Matrix<M, N, T> rhs) {
236  for (auto& data : rhs) {
237  data *= lhs;
238  }
239  return rhs;
240 }
241 
242 template <int M, int N, class T>
243 Matrix<M, N, T> operator/(Matrix<M, N, T> lhs, const T& rhs) {
244  for (auto& data : lhs) {
245  data /= rhs;
246  }
247  return lhs;
248 }
249 
250 template <int M, int N, class T>
251 bool operator==(const Matrix<M, N, T>& lhs, const Matrix<M, N, T>& rhs) {
252  for (int i = 0; i < M; ++i)
253  for (int j = 0; j < N; ++j)
254  if (lhs[i][j] != rhs[i][j]) return false;
255  return true;
256 }
257 
258 template <int M, int N, class T>
259 std::ostream& operator<<(std::ostream& os, const Matrix<M, N, T>& mat) {
260  return os << mat.toString();
261 }
262 
263 template <int Rows = 2, class Type = double>
264 class Vector : public Matrix<Rows, 1, Type> {
265 public:
266  Vector<Rows, Type>() : Matrix<Rows, 1, Type>() {}
267  Vector<Rows, Type>(const Matrix<Rows, 1, Type>& other)
268  : Matrix<Rows, 1, Type>(other) {}
269  Vector<Rows, Type>(const std::vector<Type>& data)
270  : Matrix<Rows, 1, Type>(data) {}
271 
272  Type& operator[](int col) { return this->data_[col]; }
273 
274  const Type& operator[](int col) const { return this->data_[col]; }
275 
276  virtual std::string toString() const {
277  std::stringstream ss;
278  ss << "[";
279  for (std::size_t i = 0; i < this->data_.size() - 1; ++i) {
280  ss << this->data_[i] << " ";
281  }
282  ss << this->data_[this->data_.size() - 1] << "]";
283  return ss.str();
284  }
285 };
286 
291 template <class Type = double>
292 class Vector2 : public Vector<2, Type> {
293 public:
294  Vector2<Type>() : Vector<2, Type>() {}
295  Vector2<Type>(const std::vector<Type>& data) : Vector<2, Type>(data) {}
296 
297  Vector2<Type>(Type x, Type y) {
298  this->data_[0] = x;
299  this->data_[1] = y;
300  }
301 
302  Vector2<Type>(const Matrix<2, 1, Type>& other) : Vector<2, Type>(other) {}
303 
304  Type& x() { return this->data_[0]; }
305 
306  const Type& x() const { return this->data_[0]; }
307 
308  Type& y() { return this->data_[1]; }
309 
310  const Type& y() const { return this->data_[1]; }
311 };
312 
315 
317 namespace matrix {
318 
323 template <int M, int N, class T>
325  Matrix<N, M, T> trans;
326  for (int i = 0; i < M; ++i) {
327  for (int j = 0; j < N; ++j) {
328  trans[j][i] = m[i][j];
329  }
330  }
331  return trans;
332 }
333 
338 template <int R, class T>
339 T dot(const Matrix<R, 1, T>& m1, const Matrix<R, 1, T>& m2) {
340  T sum = 0;
341  for (int i = 0; i < R; ++i) {
342  sum += m1[i][0] * m2[i][0];
343  }
344  return sum;
345 }
346 
353 template <int M, int N, int P, int Q, class T>
355  if (N != P) {
356  throw std::runtime_error(
357  "Matrices don't have the right dimensions for multiplication");
358  }
359 
360  Matrix<M, Q, T> res;
361 
362  for (int i = 0; i < M; ++i) {
363  for (int j = 0; j < Q; ++j) {
364  res[i][j] = dot(transpose(m1.getRow(i)), m2.getCol(j));
365  }
366  }
367 
368  return res;
369 }
370 
371 } // matrix
372 
373 } // yage
374 
375 #endif
int rowSize() const
Returns the row size of the Matrix.
Definition: matrix.hpp:96
-
int colSize() const
Returns the column size of the Matrixxs.
Definition: matrix.hpp:99
-
2D Vector class.
Definition: matrix.hpp:292
-
std::vector< Type >::iterator end()
iterator support for end
Definition: matrix.hpp:128
-
std::vector< Type > data_
Vector containing the data of the matrix.
Definition: matrix.hpp:88
-
Matrix< M, Q, T > multiply(const Matrix< M, N, T > &m1, const Matrix< P, Q, T > &m2)
Multiplies two matrices together.
Definition: matrix.hpp:354
-
Matrix< N, M, T > transpose(const Matrix< M, N, T > &m)
Transposes a matrix and returns the result.
Definition: matrix.hpp:324
-
Base Matrix class used by other similar classes.
Definition: matrix.hpp:32
-
virtual std::string toString() const
prints out the matrix, but can also be implemented by other classes to print data differently ...
Definition: matrix.hpp:133
-
T dot(const Matrix< R, 1, T > &m1, const Matrix< R, 1, T > &m2)
Returns the dot product between two vectors.
Definition: matrix.hpp:339
-
Matrix< 1, Cols, Type > getRow(int row) const
Return the row specified row as a Matrix with only one row.
Definition: matrix.hpp:107
-
Definition: camera2d.hpp:17
-
std::vector< Type >::iterator begin()
iterator support for begin
Definition: matrix.hpp:125
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * matrix.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
10 
21 #ifndef YAGE_MATH_MATRIX_HPP
22 #define YAGE_MATH_MATRIX_HPP
23 
24 #include <algorithm>
25 #include <exception>
26 #include <iostream>
27 #include <sstream>
28 #include <string>
29 #include <vector>
30 
31 namespace yage {
32 
33 template <int Rows, int Cols, class Type>
34 class Matrix;
35 
43 namespace detail {
44 
53 template <int Rows, int Cols, class Type>
54 class Row {
55 private:
57  int index_;
58 
59 public:
61  : parent_(parent), index_(index) {}
62 
63  Type& operator[](int col) {
64  // the index is the y-position of the element in the matrix
65  return parent_->data_[index_ * Cols + col];
66  }
67 
68  const Type& operator[](int col) const {
69  return parent_->data_[index_ * Cols + col];
70  }
71 };
72 
73 } // detail
74 
83 template <int Rows = 4, int Cols = 4, class Type = double>
84 class Matrix {
85  // friended with the row class so that it can access protected member data
86  friend class detail::Row<Rows, Cols, Type>;
87 
88 protected:
90  std::vector<Type> data_;
91 
92 public:
94  Matrix<Rows, Cols, Type>() : data_(Rows * Cols) {}
95  Matrix<Rows, Cols, Type>(const std::vector<Type>& data) : data_(data) {}
96 
98  int rowSize() const { return Rows; }
99 
101  int colSize() const { return Cols; }
102 
109  Matrix<1, Cols, Type> getRow(int row) const {
110  Matrix<1, Cols, Type> rowMatrix;
111  for (int i = 0; i < Cols; ++i) {
112  rowMatrix[0][i] = data_[row][i];
113  }
114  return rowMatrix;
115  }
116 
117  // returns the column in a column matrix
118  Matrix<Rows, 1, Type> getCol(int col) const {
119  Matrix<Rows, 1, Type> colMatrix;
120  for (int i = 0; i < Rows; ++i) {
121  colMatrix[i][0] = data_[i][col];
122  }
123  return colMatrix;
124  }
125 
127  typename std::vector<Type>::iterator begin() { return data_.begin(); }
128 
130  typename std::vector<Type>::iterator end() { return data_.end(); }
131 
135  virtual std::string toString() const {
136  std::stringstream ss;
137  ss << '[';
138  for (int i = 0; i < Rows - 1; ++i) {
139  ss << '[';
140  for (int j = 0; j < Cols - 1; ++j) {
141  ss << data_[i * Cols + j] << ' ';
142  }
143  ss << data_[(Rows - 1) * Cols + Cols - 1] << "],";
144  }
145  ss << '[';
146  for (int j = 0; j < Cols - 1; ++j) {
147  ss << data_[(Rows - 1) * Cols + j] << ' ';
148  }
149  ss << data_[(Rows - 1) * Cols + Cols - 1] << "]]";
150  return ss.str();
151  }
152 
154  return detail::Row<Rows, Cols, Type>(this, row);
155  }
156 
158  // TODO got to fix this
160  row);
161  }
162 
164  std::vector<Type> out;
165  out.reserve(data_.size());
166  std::transform(data_.begin(), data_.end(), rhs.data_.begin(),
167  std::back_inserter(out),
168  [](Type a, Type b) { return a + b; });
169  data_ = std::move(out);
170  return *this;
171  }
172 
174  std::vector<Type> out;
175  out.reserve(data_.size());
176  std::transform(data_.begin(), data_.end(), rhs.begin(),
177  std::back_inserter(out),
178  [](Type a, Type b) { return a - b; });
179  data_ = std::move(out);
180  return *this;
181  }
182 };
183 
184 template <int M, int N, class T>
186  lhs += rhs;
187  return lhs;
188 }
189 
190 template <int M, int N, class T>
192  lhs -= rhs;
193  return lhs;
194 }
195 
196 template <int M, int N, class T>
198  for (auto& data : lhs) {
199  data += rhs;
200  }
201  return lhs;
202 }
203 
204 template <int M, int N, class T>
206  for (auto& data : rhs) {
207  data += lhs;
208  }
209  return rhs;
210 }
211 
212 template <int M, int N, class T>
214  for (auto& data : lhs) {
215  data -= rhs;
216  }
217  return lhs;
218 }
219 
220 template <int M, int N, class T>
222  for (auto& data : rhs) {
223  data = lhs - data;
224  }
225  return rhs;
226 }
227 
228 template <int M, int N, class T>
230  for (auto& data : lhs) {
231  data *= rhs;
232  }
233  return lhs;
234 }
235 
236 template <int M, int N, class T>
238  for (auto& data : rhs) {
239  data *= lhs;
240  }
241  return rhs;
242 }
243 
244 template <int M, int N, class T>
246  for (auto& data : lhs) {
247  data /= rhs;
248  }
249  return lhs;
250 }
251 
252 template <int M, int N, class T>
253 bool operator==(const Matrix<M, N, T>& lhs, const Matrix<M, N, T>& rhs) {
254  for (int i = 0; i < M; ++i)
255  for (int j = 0; j < N; ++j)
256  if (lhs[i][j] != rhs[i][j]) return false;
257  return true;
258 }
259 
260 template <int M, int N, class T>
261 std::ostream& operator<<(std::ostream& os, const Matrix<M, N, T>& mat) {
262  return os << mat.toString();
263 }
264 
265 template <int Rows = 2, class Type = double>
266 class Vector : public Matrix<Rows, 1, Type> {
267 public:
270  : Matrix<Rows, 1, Type>(other) {}
271  Vector<Rows, Type>(const std::vector<Type>& data)
272  : Matrix<Rows, 1, Type>(data) {}
273 
274  Type& operator[](int col) { return this->data_[col]; }
275 
276  const Type& operator[](int col) const { return this->data_[col]; }
277 
278  std::string toString() const override override override {
279  std::stringstream ss;
280  ss << "[";
281  for (std::size_t i = 0; i < this->data_.size() - 1; ++i) {
282  ss << this->data_[i] << " ";
283  }
284  ss << this->data_[this->data_.size() - 1] << "]";
285  return ss.str();
286  }
287 };
288 
293 template <class Type = double>
294 class Vector2 : public Vector<2, Type> {
295 public:
297  Vector2<Type>(const std::vector<Type>& data) : Vector<2, Type>(data) {}
298 
299  Vector2<Type>(Type x, Type y) {
300  this->data_[0] = x;
301  this->data_[1] = y;
302  }
303 
305 
306  Type& x() { return this->data_[0]; }
307 
308  const Type& x() const { return this->data_[0]; }
309 
310  Type& y() { return this->data_[1]; }
311 
312  const Type& y() const { return this->data_[1]; }
313 };
314 
317 
319 namespace matrix {
320 
325 template <int M, int N, class T>
327  Matrix<N, M, T> trans;
328  for (int i = 0; i < M; ++i) {
329  for (int j = 0; j < N; ++j) {
330  trans[j][i] = m[i][j];
331  }
332  }
333  return trans;
334 }
335 
340 template <int R, class T>
341 T dot(const Matrix<R, 1, T>& m1, const Matrix<R, 1, T>& m2) {
342  T sum = 0;
343  for (int i = 0; i < R; ++i) {
344  sum += m1[i][0] * m2[i][0];
345  }
346  return sum;
347 }
348 
355 template <int M, int N, int P, int Q, class T>
357  if (N != P) {
358  throw std::runtime_error(
359  "Matrices don't have the right dimensions for multiplication");
360  }
361 
362  Matrix<M, Q, T> res;
363 
364  for (int i = 0; i < M; ++i) {
365  for (int j = 0; j < Q; ++j) {
366  res[i][j] = dot(transpose(m1.getRow(i)), m2.getCol(j));
367  }
368  }
369 
370  return res;
371 }
372 
373 } // matrix
374 
375 } // yage
376 
377 #endif
Matrix< M, N, T > operator/(Matrix< M, N, T > lhs, const T &rhs)
Definition: matrix.hpp:245
+
const Type & y() const
Definition: matrix.hpp:312
+
Matrix< M, N, T > operator*(Matrix< M, N, T > lhs, const T &rhs)
Definition: matrix.hpp:229
+
int rowSize() const
Returns the row size of the Matrix.
Definition: matrix.hpp:98
+
int colSize() const
Returns the column size of the Matrixxs.
Definition: matrix.hpp:101
+
2D Vector class.
Definition: matrix.hpp:294
+
bool operator==(const Matrix< M, N, T > &lhs, const Matrix< M, N, T > &rhs)
Definition: matrix.hpp:253
+
std::vector< Type >::iterator end()
iterator support for end
Definition: matrix.hpp:130
+
Matrix< Rows, 1, Type > getCol(int col) const
Definition: matrix.hpp:118
+
Type & operator[](int col)
Definition: matrix.hpp:274
+
std::vector< Type > data_
Vector containing the data of the matrix.
Definition: matrix.hpp:90
+
Matrix< M, Q, T > multiply(const Matrix< M, N, T > &m1, const Matrix< P, Q, T > &m2)
Multiplies two matrices together.
Definition: matrix.hpp:356
+
const Type & operator[](int col) const
Definition: matrix.hpp:68
+
Type & y()
Definition: matrix.hpp:310
+
detail::Row< Rows, Cols, Type > operator[](int row) const
Definition: matrix.hpp:157
+
Definition: matrix.hpp:54
+
Matrix< Rows, Cols, Type > * parent_
Definition: matrix.hpp:56
+
int index_
Definition: matrix.hpp:57
+
Matrix< N, M, T > transpose(const Matrix< M, N, T > &m)
Transposes a matrix and returns the result.
Definition: matrix.hpp:326
+
std::string toString() const override override override
prints out the matrix, but can also be implemented by other classes to print data differently ...
Definition: matrix.hpp:278
+
Matrix< Rows, Cols, Type > & operator-=(const Matrix< Rows, Cols, Type > &rhs)
Definition: matrix.hpp:173
+
Type & x()
Definition: matrix.hpp:306
+
Matrix< M, N, T > operator+(Matrix< M, N, T > lhs, const Matrix< M, N, T > &rhs)
Definition: matrix.hpp:185
+
Definition: matrix.hpp:266
+
Matrix< M, N, T > operator-(Matrix< M, N, T > lhs, const Matrix< M, N, T > &rhs)
Definition: matrix.hpp:191
+
Matrix< Rows, Cols, Type > & operator+=(const Matrix< Rows, Cols, Type > &rhs)
Definition: matrix.hpp:163
+
Type & operator[](int col)
Definition: matrix.hpp:63
+
Base Matrix class used by other similar classes.
Definition: matrix.hpp:34
+
virtual std::string toString() const
prints out the matrix, but can also be implemented by other classes to print data differently ...
Definition: matrix.hpp:135
+
T dot(const Matrix< R, 1, T > &m1, const Matrix< R, 1, T > &m2)
Returns the dot product between two vectors.
Definition: matrix.hpp:341
+
Matrix< 1, Cols, Type > getRow(int row) const
Return the row specified row as a Matrix with only one row.
Definition: matrix.hpp:109
+
const Type & x() const
Definition: matrix.hpp:308
+
Templated matrix class.
Definition: camera2d.hpp:17
+
std::vector< Type >::iterator begin()
iterator support for begin
Definition: matrix.hpp:127
+
detail::Row< Rows, Cols, Type > operator[](int row)
Definition: matrix.hpp:153
+
const Type & operator[](int col) const
Definition: matrix.hpp:276
+
- + diff --git a/matrixtest_8cpp.html b/matrixtest_8cpp.html new file mode 100644 index 00000000..f2ddf262 --- /dev/null +++ b/matrixtest_8cpp.html @@ -0,0 +1,354 @@ + + + + + + + +YAGE: test/matrixtest.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
matrixtest.cpp File Reference
+
+
+
#include <algorithm>
+#include <cstdlib>
+#include <ctime>
+#include <vector>
+#include "Math/math.hpp"
+#include "gtest/gtest.h"
+
+ + + + + + + + + + + + + + + + + + + +

+Functions

template<int Size>
int matrixAssign (int number, int i, int j)
 
template<int Size>
int matrixAddition (int num1, int num2)
 
int vectorDotProduct (const std::vector< int > &vec_contents_f, const std::vector< int > &vec_contents_s)
 
bool matrixMultiplication ()
 
 TEST (Matrix, Assign)
 
 TEST (Matrix, Addition)
 
 TEST (Vector, DotProduct)
 
int main (int argc, char **argv)
 
+

Function Documentation

+ +

◆ main()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int argc,
char ** argv 
)
+
+ +
+
+ +

◆ matrixAddition()

+ +
+
+
+template<int Size>
+ + + + + + + + + + + + + + + + + + +
int matrixAddition (int num1,
int num2 
)
+
+ +
+
+ +

◆ matrixAssign()

+ +
+
+
+template<int Size>
+ + + + + + + + + + + + + + + + + + + + + + + + +
int matrixAssign (int number,
int i,
int j 
)
+
+ +
+
+ +

◆ matrixMultiplication()

+ +
+
+ + + + + + + +
bool matrixMultiplication ()
+
+ +
+
+ +

◆ TEST() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
TEST (Matrix ,
Assign  
)
+
+ +
+
+ +

◆ TEST() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
TEST (Matrix ,
Addition  
)
+
+ +
+
+ +

◆ TEST() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
TEST (Vector ,
DotProduct  
)
+
+ +
+
+ +

◆ vectorDotProduct()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int vectorDotProduct (const std::vector< int > & vec_contents_f,
const std::vector< int > & vec_contents_s 
)
+
+ +
+
+
+
+ + + + diff --git a/matrixtest_8cpp.js b/matrixtest_8cpp.js new file mode 100644 index 00000000..2268e31d --- /dev/null +++ b/matrixtest_8cpp.js @@ -0,0 +1,11 @@ +var matrixtest_8cpp = +[ + [ "main", "matrixtest_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627", null ], + [ "matrixAddition", "matrixtest_8cpp.html#a5476c7c614ed26381a5ffca3ba9c8ed4", null ], + [ "matrixAssign", "matrixtest_8cpp.html#a775b6c7dab5de10aea707de6281ad51e", null ], + [ "matrixMultiplication", "matrixtest_8cpp.html#a89c46f5f2d4bc6c62c5f9357ddb57f06", null ], + [ "TEST", "matrixtest_8cpp.html#a1994b66beb3b4846bb593a0f9d86edf6", null ], + [ "TEST", "matrixtest_8cpp.html#a1d5929fedb7ac7808b0eac220aa27693", null ], + [ "TEST", "matrixtest_8cpp.html#a4ba25f18d624c0816cd94f6a32a2c973", null ], + [ "vectorDotProduct", "matrixtest_8cpp.html#a1b776f4c64a26c055b88f98a6c6bd02d", null ] +]; \ No newline at end of file diff --git a/md_README.html b/md_README.html index 1d9723ac..f4333be9 100644 --- a/md_README.html +++ b/md_README.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
-
YAGE
-

YAGE stands for Yet Another Game Engine.

-

License

+

Introduction

+

YAGE stands for Yet Another Game Engine. It is a game engine that I am developing for a game called Arider. It uses OpenGL and SDL2 for the window creation and management and graphics.

+

Installation and usage

+

To use YAGE for your own game, you should link it as a static library and include the yage.hpp header in your project.

+

Build and Testing

+

To compile YAGE, create a build directory from the base directory. Then call cmake and point it to the directory containing. CMakeLists.txt.

+
mkdir build
cd build
cmake ..

You can then run google test on YAGE.

+
ctest

License

Copyright (c) 2017 Yann Herklotz Grave ymher.nosp@m.klot.nosp@m.z@gma.nosp@m.il.c.nosp@m.om – MIT License, see file LICENSE for more details.

+
- + diff --git a/md_docs_README.html b/md_docs_README.html index ee45230a..253d074e 100644 --- a/md_docs_README.html +++ b/md_docs_README.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
-
Documentation
@@ -66,11 +87,14 @@ $(function() {

Visit this page for the documentation.

+
- + diff --git a/menudata.js b/menudata.js index bc91e661..f4561581 100644 --- a/menudata.js +++ b/menudata.js @@ -5,14 +5,102 @@ var menudata={children:[ {text:"Namespace List",url:"namespaces.html"}, {text:"Namespace Members",url:"namespacemembers.html",children:[ {text:"All",url:"namespacemembers.html"}, -{text:"Functions",url:"namespacemembers_func.html"}]}]}, +{text:"Functions",url:"namespacemembers_func.html"}, +{text:"Typedefs",url:"namespacemembers_type.html"}, +{text:"Enumerations",url:"namespacemembers_enum.html"}, +{text:"Enumerator",url:"namespacemembers_eval.html"}]}]}, {text:"Classes",url:"annotated.html",children:[ {text:"Class List",url:"annotated.html"}, {text:"Class Index",url:"classes.html"}, {text:"Class Hierarchy",url:"hierarchy.html"}, {text:"Class Members",url:"functions.html",children:[ -{text:"All",url:"functions.html"}, -{text:"Functions",url:"functions_func.html"}, -{text:"Variables",url:"functions_vars.html"}]}]}, +{text:"All",url:"functions.html",children:[ +{text:"a",url:"functions.html#index_a"}, +{text:"b",url:"functions.html#index_b"}, +{text:"c",url:"functions.html#index_c"}, +{text:"d",url:"functions.html#index_d"}, +{text:"e",url:"functions.html#index_e"}, +{text:"f",url:"functions.html#index_f"}, +{text:"g",url:"functions.html#index_g"}, +{text:"h",url:"functions.html#index_h"}, +{text:"i",url:"functions.html#index_i"}, +{text:"k",url:"functions.html#index_k"}, +{text:"l",url:"functions.html#index_l"}, +{text:"m",url:"functions.html#index_m"}, +{text:"n",url:"functions.html#index_n"}, +{text:"o",url:"functions.html#index_o"}, +{text:"p",url:"functions.html#index_p"}, +{text:"r",url:"functions.html#index_r"}, +{text:"s",url:"functions.html#index_s"}, +{text:"t",url:"functions.html#index_t"}, +{text:"u",url:"functions.html#index_u"}, +{text:"v",url:"functions.html#index_v"}, +{text:"w",url:"functions.html#index_w"}, +{text:"x",url:"functions.html#index_x"}, +{text:"y",url:"functions.html#index_y"}, +{text:"~",url:"functions.html#index_0x7e"}]}, +{text:"Functions",url:"functions_func.html",children:[ +{text:"a",url:"functions_func.html#index_a"}, +{text:"b",url:"functions_func.html#index_b"}, +{text:"c",url:"functions_func.html#index_c"}, +{text:"d",url:"functions_func.html#index_d"}, +{text:"e",url:"functions_func.html#index_e"}, +{text:"g",url:"functions_func.html#index_g"}, +{text:"i",url:"functions_func.html#index_i"}, +{text:"k",url:"functions_func.html#index_k"}, +{text:"l",url:"functions_func.html#index_l"}, +{text:"m",url:"functions_func.html#index_m"}, +{text:"n",url:"functions_func.html#index_n"}, +{text:"o",url:"functions_func.html#index_o"}, +{text:"p",url:"functions_func.html#index_p"}, +{text:"r",url:"functions_func.html#index_r"}, +{text:"s",url:"functions_func.html#index_s"}, +{text:"t",url:"functions_func.html#index_t"}, +{text:"u",url:"functions_func.html#index_u"}, +{text:"v",url:"functions_func.html#index_v"}, +{text:"w",url:"functions_func.html#index_w"}, +{text:"x",url:"functions_func.html#index_x"}, +{text:"y",url:"functions_func.html#index_y"}, +{text:"~",url:"functions_func.html#index_0x7e"}]}, +{text:"Variables",url:"functions_vars.html",children:[ +{text:"a",url:"functions_vars.html#index_a"}, +{text:"b",url:"functions_vars.html#index_b"}, +{text:"c",url:"functions_vars.html#index_c"}, +{text:"d",url:"functions_vars.html#index_d"}, +{text:"f",url:"functions_vars.html#index_f"}, +{text:"g",url:"functions_vars.html#index_g"}, +{text:"h",url:"functions_vars.html#index_h"}, +{text:"i",url:"functions_vars.html#index_i"}, +{text:"k",url:"functions_vars.html#index_k"}, +{text:"m",url:"functions_vars.html#index_m"}, +{text:"n",url:"functions_vars.html#index_n"}, +{text:"o",url:"functions_vars.html#index_o"}, +{text:"p",url:"functions_vars.html#index_p"}, +{text:"r",url:"functions_vars.html#index_r"}, +{text:"s",url:"functions_vars.html#index_s"}, +{text:"t",url:"functions_vars.html#index_t"}, +{text:"u",url:"functions_vars.html#index_u"}, +{text:"v",url:"functions_vars.html#index_v"}, +{text:"w",url:"functions_vars.html#index_w"}, +{text:"x",url:"functions_vars.html#index_x"}, +{text:"y",url:"functions_vars.html#index_y"}]}, +{text:"Related Functions",url:"functions_rela.html"}]}]}, {text:"Files",url:"files.html",children:[ -{text:"File List",url:"files.html"}]}]} +{text:"File List",url:"files.html"}, +{text:"File Members",url:"globals.html",children:[ +{text:"All",url:"globals.html",children:[ +{text:"a",url:"globals.html#index_a"}, +{text:"c",url:"globals.html#index_c"}, +{text:"d",url:"globals.html#index_d"}, +{text:"f",url:"globals.html#index_f"}, +{text:"g",url:"globals.html#index_g"}, +{text:"h",url:"globals.html#index_h"}, +{text:"i",url:"globals.html#index_i"}, +{text:"m",url:"globals.html#index_m"}, +{text:"p",url:"globals.html#index_p"}, +{text:"s",url:"globals.html#index_s"}, +{text:"t",url:"globals.html#index_t"}, +{text:"v",url:"globals.html#index_v"}]}, +{text:"Functions",url:"globals_func.html"}, +{text:"Variables",url:"globals_vars.html"}, +{text:"Macros",url:"globals_defs.html"}]}]}]} diff --git a/namespacemembers.html b/namespacemembers.html index 0bb2904b..47039315 100644 --- a/namespacemembers.html +++ b/namespacemembers.html @@ -9,6 +9,13 @@ + + + + + @@ -45,6 +52,20 @@ $(function() { +
+ +
+
+
+ +
-
Here is a list of all documented namespace members with links to the namespaces they belong to:
    +
    Here is a list of all namespace members with links to the namespace documentation for each member:
+
- + diff --git a/namespacemembers_enum.html b/namespacemembers_enum.html new file mode 100644 index 00000000..0e00a15b --- /dev/null +++ b/namespacemembers_enum.html @@ -0,0 +1,100 @@ + + + + + + + +YAGE: Namespace Members + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
    +
  • WindowFlags +: yage +
  • +
+
+
+ + + + diff --git a/namespacemembers_eval.html b/namespacemembers_eval.html new file mode 100644 index 00000000..65165a76 --- /dev/null +++ b/namespacemembers_eval.html @@ -0,0 +1,109 @@ + + + + + + + +YAGE: Namespace Members + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
    +
  • BORDERLESS +: yage +
  • +
  • FULLSCREEN +: yage +
  • +
  • HIDDEN +: yage +
  • +
  • SHOWN +: yage +
  • +
+
+
+ + + + diff --git a/namespacemembers_func.html b/namespacemembers_func.html index 9ad261ae..c1a83fbe 100644 --- a/namespacemembers_func.html +++ b/namespacemembers_func.html @@ -9,6 +9,13 @@ + + + + + @@ -45,6 +52,20 @@ $(function() {
+
+ +
+
+
+ +
 
+
- + diff --git a/namespacemembers_type.html b/namespacemembers_type.html new file mode 100644 index 00000000..e8434066 --- /dev/null +++ b/namespacemembers_type.html @@ -0,0 +1,100 @@ + + + + + + + +YAGE: Namespace Members + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
    +
  • Vector2d +: yage +
  • +
+
+
+ + + + diff --git a/namespaces.html b/namespaces.html index a8397fc2..2f261adb 100644 --- a/namespaces.html +++ b/namespaces.html @@ -9,6 +9,13 @@ + + + + + @@ -45,6 +52,20 @@ $(function() { +
+ +
+
+
+ +
Namespace List
-
Here is a list of all documented namespaces with brief descriptions:
+
Here is a list of all namespaces with brief descriptions:
[detail level 12]
- - + + +
 Nyage
 NmatrixNamespace containing functions that operate on matrices
 NyageTemplated matrix class
 Ndetail
 NmatrixNamespace containing functions that operate on matrices
+
- + diff --git a/namespaces.js b/namespaces.js new file mode 100644 index 00000000..10ccff04 --- /dev/null +++ b/namespaces.js @@ -0,0 +1,4 @@ +var namespaces = +[ + [ "yage", "namespaceyage.html", "namespaceyage" ] +]; \ No newline at end of file diff --git a/namespaceyage.html b/namespaceyage.html new file mode 100644 index 00000000..9236d730 --- /dev/null +++ b/namespaceyage.html @@ -0,0 +1,689 @@ + + + + + + + +YAGE: yage Namespace Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage Namespace Reference
+
+
+ +

Templated matrix class. +More...

+ + + + + + + +

+Namespaces

 detail
 
 matrix
 Namespace containing functions that operate on matrices.
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Classes

class  Body
 
class  Camera2D
 
class  Collider
 
class  CollisionBody
 
struct  Color
 
class  GlslProgram
 
class  Glyph
 Glyph with information of the texture. More...
 
class  ImageLoader
 
class  InputManager
 
class  IoManager
 
class  Matrix
 Base Matrix class used by other similar classes. More...
 
class  ParticleBody
 
struct  Position
 
class  RectangleCollider
 
class  RenderBatch
 
class  ResourceManager
 
class  RigidBody
 
class  Sprite
 
class  SpriteBatch
 
struct  Texture
 
class  TextureCache
 
struct  UV
 
class  Vector
 
class  Vector2
 2D Vector class. More...
 
struct  Vertex
 
class  Window
 
+ + + + +

+Typedefs

using Vector2d = Vector2< double >
 Definition of a 2D vector. More...
 
+ + + +

+Enumerations

enum  WindowFlags : unsigned { SHOWN = 0x1, +HIDDEN = 0x2, +FULLSCREEN = 0x4, +BORDERLESS = 0x8 + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<int M, int N, class T >
Matrix< M, N, T > operator+ (Matrix< M, N, T > lhs, const Matrix< M, N, T > &rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator- (Matrix< M, N, T > lhs, const Matrix< M, N, T > &rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator+ (Matrix< M, N, T > lhs, const T &rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator+ (const T &lhs, Matrix< M, N, T > rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator- (Matrix< M, N, T > lhs, const T &rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator- (const T &lhs, Matrix< M, N, T > rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator* (Matrix< M, N, T > lhs, const T &rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator* (const T &lhs, Matrix< M, N, T > rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator/ (Matrix< M, N, T > lhs, const T &rhs)
 
template<int M, int N, class T >
bool operator== (const Matrix< M, N, T > &lhs, const Matrix< M, N, T > &rhs)
 
template<int M, int N, class T >
std::ostream & operator<< (std::ostream &os, const Matrix< M, N, T > &mat)
 
int decodePNG (std::vector< unsigned char > &out_image, unsigned long &image_width, unsigned long &image_height, const unsigned char *in_png, size_t in_size, bool convert_to_rgba32=true)
 
bool init ()
 
void quit ()
 
+

Detailed Description

+

Matrix

+

This is a very general matrix class that can then be inherited by vectors and other similar data structures to minimize code density.

+

Typedef Documentation

+ +

◆ Vector2d

+ +
+
+ + + + +
using yage::Vector2d = typedef Vector2<double>
+
+ +
+
+

Enumeration Type Documentation

+ +

◆ WindowFlags

+ +
+
+ + + + +
enum yage::WindowFlags : unsigned
+
+ + + + + +
Enumerator
SHOWN 
HIDDEN 
FULLSCREEN 
BORDERLESS 
+ +
+
+

Function Documentation

+ +

◆ decodePNG()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int yage::decodePNG (std::vector< unsigned char > & out_image,
unsigned long & image_width,
unsigned long & image_height,
const unsigned char * in_png,
size_t in_size,
bool convert_to_rgba32 = true 
)
+
+ +
+
+ +

◆ init()

+ +
+
+ + + + + + + +
bool yage::init ()
+
+ +
+
+ +

◆ operator*() [1/2]

+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator* (Matrix< M, N, T > lhs,
const T & rhs 
)
+
+ +
+
+ +

◆ operator*() [2/2]

+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator* (const T & lhs,
Matrix< M, N, T > rhs 
)
+
+ +
+
+ +

◆ operator+() [1/3]

+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator+ (Matrix< M, N, T > lhs,
const Matrix< M, N, T > & rhs 
)
+
+ +
+
+ +

◆ operator+() [2/3]

+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator+ (Matrix< M, N, T > lhs,
const T & rhs 
)
+
+ +
+
+ +

◆ operator+() [3/3]

+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator+ (const T & lhs,
Matrix< M, N, T > rhs 
)
+
+ +
+
+ +

◆ operator-() [1/3]

+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator- (Matrix< M, N, T > lhs,
const Matrix< M, N, T > & rhs 
)
+
+ +
+
+ +

◆ operator-() [2/3]

+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator- (Matrix< M, N, T > lhs,
const T & rhs 
)
+
+ +
+
+ +

◆ operator-() [3/3]

+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator- (const T & lhs,
Matrix< M, N, T > rhs 
)
+
+ +
+
+ +

◆ operator/()

+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator/ (Matrix< M, N, T > lhs,
const T & rhs 
)
+
+ +
+
+ +

◆ operator<<()

+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
std::ostream& yage::operator<< (std::ostream & os,
const Matrix< M, N, T > & mat 
)
+
+ +
+
+ +

◆ operator==()

+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
bool yage::operator== (const Matrix< M, N, T > & lhs,
const Matrix< M, N, T > & rhs 
)
+
+ +
+
+ +

◆ quit()

+ +
+
+ + + + + + + +
void yage::quit ()
+
+ +
+
+
+
+ + + + diff --git a/namespaceyage.js b/namespaceyage.js new file mode 100644 index 00000000..89b75193 --- /dev/null +++ b/namespaceyage.js @@ -0,0 +1,30 @@ +var namespaceyage = +[ + [ "detail", "namespaceyage_1_1detail.html", "namespaceyage_1_1detail" ], + [ "Body", "classyage_1_1Body.html", "classyage_1_1Body" ], + [ "Camera2D", "classyage_1_1Camera2D.html", "classyage_1_1Camera2D" ], + [ "Collider", "classyage_1_1Collider.html", "classyage_1_1Collider" ], + [ "CollisionBody", "classyage_1_1CollisionBody.html", "classyage_1_1CollisionBody" ], + [ "Color", "structyage_1_1Color.html", "structyage_1_1Color" ], + [ "GlslProgram", "classyage_1_1GlslProgram.html", "classyage_1_1GlslProgram" ], + [ "Glyph", "classyage_1_1Glyph.html", "classyage_1_1Glyph" ], + [ "ImageLoader", "classyage_1_1ImageLoader.html", "classyage_1_1ImageLoader" ], + [ "InputManager", "classyage_1_1InputManager.html", "classyage_1_1InputManager" ], + [ "IoManager", "classyage_1_1IoManager.html", "classyage_1_1IoManager" ], + [ "Matrix", "classyage_1_1Matrix.html", "classyage_1_1Matrix" ], + [ "ParticleBody", "classyage_1_1ParticleBody.html", "classyage_1_1ParticleBody" ], + [ "Position", "structyage_1_1Position.html", "structyage_1_1Position" ], + [ "RectangleCollider", "classyage_1_1RectangleCollider.html", "classyage_1_1RectangleCollider" ], + [ "RenderBatch", "classyage_1_1RenderBatch.html", "classyage_1_1RenderBatch" ], + [ "ResourceManager", "classyage_1_1ResourceManager.html", "classyage_1_1ResourceManager" ], + [ "RigidBody", "classyage_1_1RigidBody.html", "classyage_1_1RigidBody" ], + [ "Sprite", "classyage_1_1Sprite.html", "classyage_1_1Sprite" ], + [ "SpriteBatch", "classyage_1_1SpriteBatch.html", "classyage_1_1SpriteBatch" ], + [ "Texture", "structyage_1_1Texture.html", "structyage_1_1Texture" ], + [ "TextureCache", "classyage_1_1TextureCache.html", "classyage_1_1TextureCache" ], + [ "UV", "structyage_1_1UV.html", "structyage_1_1UV" ], + [ "Vector", "classyage_1_1Vector.html", "classyage_1_1Vector" ], + [ "Vector2", "classyage_1_1Vector2.html", "classyage_1_1Vector2" ], + [ "Vertex", "structyage_1_1Vertex.html", "structyage_1_1Vertex" ], + [ "Window", "classyage_1_1Window.html", "classyage_1_1Window" ] +]; \ No newline at end of file diff --git a/namespaceyage_1_1detail.html b/namespaceyage_1_1detail.html new file mode 100644 index 00000000..9eed3287 --- /dev/null +++ b/namespaceyage_1_1detail.html @@ -0,0 +1,108 @@ + + + + + + + +YAGE: yage::detail Namespace Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::detail Namespace Reference
+
+
+ + + + +

+Classes

class  Row
 
+
+
+ + + + diff --git a/namespaceyage_1_1detail.js b/namespaceyage_1_1detail.js new file mode 100644 index 00000000..61b0f15d --- /dev/null +++ b/namespaceyage_1_1detail.js @@ -0,0 +1,4 @@ +var namespaceyage_1_1detail = +[ + [ "Row", "classyage_1_1detail_1_1Row.html", "classyage_1_1detail_1_1Row" ] +]; \ No newline at end of file diff --git a/namespaceyage_1_1matrix.html b/namespaceyage_1_1matrix.html index a674fc0f..cb1f896c 100644 --- a/namespaceyage_1_1matrix.html +++ b/namespaceyage_1_1matrix.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
@@ -90,8 +107,7 @@ Functions  

Detailed Description

-

Namespace containing functions that operate on matrices.

-

Function Documentation

+

Function Documentation

◆ dot()

@@ -119,8 +135,6 @@ template<int R, class T >
- -

Returns the dot product between two vectors.

Parameters
@@ -157,8 +171,6 @@ template<int M, int N, int P, int Q, class T >
[in]m1,m2Input matrices.
- -

Multiplies two matrices together.

Parameters
@@ -186,8 +198,6 @@ template<int M, int N, class T >
[in]m1,m2Matrix inputs
- -

Transposes a matrix and returns the result.

Parameters
@@ -198,11 +208,15 @@ template<int M, int N, class T > + - + diff --git a/navtree.css b/navtree.css new file mode 100644 index 00000000..0cc7e776 --- /dev/null +++ b/navtree.css @@ -0,0 +1,146 @@ +#nav-tree .children_ul { + margin:0; + padding:4px; +} + +#nav-tree ul { + list-style:none outside none; + margin:0px; + padding:0px; +} + +#nav-tree li { + white-space:nowrap; + margin:0px; + padding:0px; +} + +#nav-tree .plus { + margin:0px; +} + +#nav-tree .selected { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} + +#nav-tree img { + margin:0px; + padding:0px; + border:0px; + vertical-align: middle; +} + +#nav-tree a { + text-decoration:none; + padding:0px; + margin:0px; + outline:none; +} + +#nav-tree .label { + margin:0px; + padding:0px; + font: 12px 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +#nav-tree .label a { + padding:2px; +} + +#nav-tree .selected a { + text-decoration:none; + color:#fff; +} + +#nav-tree .children_ul { + margin:0px; + padding:0px; +} + +#nav-tree .item { + margin:0px; + padding:0px; +} + +#nav-tree { + padding: 0px 0px; + background-color: #FAFAFF; + font-size:14px; + overflow:auto; +} + +#doc-content { + overflow:auto; + display:block; + padding:0px; + margin:0px; + -webkit-overflow-scrolling : touch; /* iOS 5+ */ +} + +#side-nav { + padding:0 6px 0 0; + margin: 0px; + display:block; + position: absolute; + left: 0px; + width: 250px; +} + +.ui-resizable .ui-resizable-handle { + display:block; +} + +.ui-resizable-e { + background-image:url("splitbar.png"); + background-size:100%; + background-repeat:no-repeat; + background-attachment: scroll; + cursor:ew-resize; + height:100%; + right:0; + top:0; + width:6px; +} + +.ui-resizable-handle { + display:none; + font-size:0.1px; + position:absolute; + z-index:1; +} + +#nav-tree-contents { + margin: 6px 0px 0px 0px; +} + +#nav-tree { + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + -webkit-overflow-scrolling : touch; /* iOS 5+ */ +} + +#nav-sync { + position:absolute; + top:5px; + right:24px; + z-index:0; +} + +#nav-sync img { + opacity:0.3; +} + +#nav-sync img:hover { + opacity:0.9; +} + +@media print +{ + #nav-tree { display: none; } + div.ui-resizable-handle { display: none; position: relative; } +} + diff --git a/navtree.js b/navtree.js new file mode 100644 index 00000000..e6d31b00 --- /dev/null +++ b/navtree.js @@ -0,0 +1,517 @@ +var navTreeSubIndices = new Array(); +var arrowDown = '▼'; +var arrowRight = '►'; + +function getData(varName) +{ + var i = varName.lastIndexOf('/'); + var n = i>=0 ? varName.substring(i+1) : varName; + return eval(n.replace(/\-/g,'_')); +} + +function stripPath(uri) +{ + return uri.substring(uri.lastIndexOf('/')+1); +} + +function stripPath2(uri) +{ + var i = uri.lastIndexOf('/'); + var s = uri.substring(i+1); + var m = uri.substring(0,i+1).match(/\/d\w\/d\w\w\/$/); + return m ? uri.substring(i-6) : s; +} + +function hashValue() +{ + return $(location).attr('hash').substring(1).replace(/[^\w\-]/g,''); +} + +function hashUrl() +{ + return '#'+hashValue(); +} + +function pathName() +{ + return $(location).attr('pathname').replace(/[^-A-Za-z0-9+&@#/%?=~_|!:,.;\(\)]/g, ''); +} + +function localStorageSupported() +{ + try { + return 'localStorage' in window && window['localStorage'] !== null && window.localStorage.getItem; + } + catch(e) { + return false; + } +} + + +function storeLink(link) +{ + if (!$("#nav-sync").hasClass('sync') && localStorageSupported()) { + window.localStorage.setItem('navpath',link); + } +} + +function deleteLink() +{ + if (localStorageSupported()) { + window.localStorage.setItem('navpath',''); + } +} + +function cachedLink() +{ + if (localStorageSupported()) { + return window.localStorage.getItem('navpath'); + } else { + return ''; + } +} + +function getScript(scriptName,func,show) +{ + var head = document.getElementsByTagName("head")[0]; + var script = document.createElement('script'); + script.id = scriptName; + script.type = 'text/javascript'; + script.onload = func; + script.src = scriptName+'.js'; + if ($.browser.msie && $.browser.version<=8) { + // script.onload does not work with older versions of IE + script.onreadystatechange = function() { + if (script.readyState=='complete' || script.readyState=='loaded') { + func(); if (show) showRoot(); + } + } + } + head.appendChild(script); +} + +function createIndent(o,domNode,node,level) +{ + var level=-1; + var n = node; + while (n.parentNode) { level++; n=n.parentNode; } + if (node.childrenData) { + var imgNode = document.createElement("span"); + imgNode.className = 'arrow'; + imgNode.style.paddingLeft=(16*level).toString()+'px'; + imgNode.innerHTML=arrowRight; + node.plus_img = imgNode; + node.expandToggle = document.createElement("a"); + node.expandToggle.href = "javascript:void(0)"; + node.expandToggle.onclick = function() { + if (node.expanded) { + $(node.getChildrenUL()).slideUp("fast"); + node.plus_img.innerHTML=arrowRight; + node.expanded = false; + } else { + expandNode(o, node, false, false); + } + } + node.expandToggle.appendChild(imgNode); + domNode.appendChild(node.expandToggle); + } else { + var span = document.createElement("span"); + span.className = 'arrow'; + span.style.width = 16*(level+1)+'px'; + span.innerHTML = ' '; + domNode.appendChild(span); + } +} + +var animationInProgress = false; + +function gotoAnchor(anchor,aname,updateLocation) +{ + var pos, docContent = $('#doc-content'); + var ancParent = $(anchor.parent()); + if (ancParent.hasClass('memItemLeft') || + ancParent.hasClass('fieldname') || + ancParent.hasClass('fieldtype') || + ancParent.is(':header')) + { + pos = ancParent.position().top; + } else if (anchor.position()) { + pos = anchor.position().top; + } + if (pos) { + var dist = Math.abs(Math.min( + pos-docContent.offset().top, + docContent[0].scrollHeight- + docContent.height()-docContent.scrollTop())); + animationInProgress=true; + docContent.animate({ + scrollTop: pos + docContent.scrollTop() - docContent.offset().top + },Math.max(50,Math.min(500,dist)),function(){ + if (updateLocation) window.location.href=aname; + animationInProgress=false; + }); + } +} + +function newNode(o, po, text, link, childrenData, lastNode) +{ + var node = new Object(); + node.children = Array(); + node.childrenData = childrenData; + node.depth = po.depth + 1; + node.relpath = po.relpath; + node.isLast = lastNode; + + node.li = document.createElement("li"); + po.getChildrenUL().appendChild(node.li); + node.parentNode = po; + + node.itemDiv = document.createElement("div"); + node.itemDiv.className = "item"; + + node.labelSpan = document.createElement("span"); + node.labelSpan.className = "label"; + + createIndent(o,node.itemDiv,node,0); + node.itemDiv.appendChild(node.labelSpan); + node.li.appendChild(node.itemDiv); + + var a = document.createElement("a"); + node.labelSpan.appendChild(a); + node.label = document.createTextNode(text); + node.expanded = false; + a.appendChild(node.label); + if (link) { + var url; + if (link.substring(0,1)=='^') { + url = link.substring(1); + link = url; + } else { + url = node.relpath+link; + } + a.className = stripPath(link.replace('#',':')); + if (link.indexOf('#')!=-1) { + var aname = '#'+link.split('#')[1]; + var srcPage = stripPath(pathName()); + var targetPage = stripPath(link.split('#')[0]); + a.href = srcPage!=targetPage ? url : "javascript:void(0)"; + a.onclick = function(){ + storeLink(link); + if (!$(a).parent().parent().hasClass('selected')) + { + $('.item').removeClass('selected'); + $('.item').removeAttr('id'); + $(a).parent().parent().addClass('selected'); + $(a).parent().parent().attr('id','selected'); + } + var anchor = $(aname); + gotoAnchor(anchor,aname,true); + }; + } else { + a.href = url; + a.onclick = function() { storeLink(link); } + } + } else { + if (childrenData != null) + { + a.className = "nolink"; + a.href = "javascript:void(0)"; + a.onclick = node.expandToggle.onclick; + } + } + + node.childrenUL = null; + node.getChildrenUL = function() { + if (!node.childrenUL) { + node.childrenUL = document.createElement("ul"); + node.childrenUL.className = "children_ul"; + node.childrenUL.style.display = "none"; + node.li.appendChild(node.childrenUL); + } + return node.childrenUL; + }; + + return node; +} + +function showRoot() +{ + var headerHeight = $("#top").height(); + var footerHeight = $("#nav-path").height(); + var windowHeight = $(window).height() - headerHeight - footerHeight; + (function (){ // retry until we can scroll to the selected item + try { + var navtree=$('#nav-tree'); + navtree.scrollTo('#selected',0,{offset:-windowHeight/2}); + } catch (err) { + setTimeout(arguments.callee, 0); + } + })(); +} + +function expandNode(o, node, imm, showRoot) +{ + if (node.childrenData && !node.expanded) { + if (typeof(node.childrenData)==='string') { + var varName = node.childrenData; + getScript(node.relpath+varName,function(){ + node.childrenData = getData(varName); + expandNode(o, node, imm, showRoot); + }, showRoot); + } else { + if (!node.childrenVisited) { + getNode(o, node); + } if (imm || ($.browser.msie && $.browser.version>8)) { + // somehow slideDown jumps to the start of tree for IE9 :-( + $(node.getChildrenUL()).show(); + } else { + $(node.getChildrenUL()).slideDown("fast"); + } + node.plus_img.innerHTML = arrowDown; + node.expanded = true; + } + } +} + +function glowEffect(n,duration) +{ + n.addClass('glow').delay(duration).queue(function(next){ + $(this).removeClass('glow');next(); + }); +} + +function highlightAnchor() +{ + var aname = hashUrl(); + var anchor = $(aname); + if (anchor.parent().attr('class')=='memItemLeft'){ + var rows = $('.memberdecls tr[class$="'+hashValue()+'"]'); + glowEffect(rows.children(),300); // member without details + } else if (anchor.parent().attr('class')=='fieldname'){ + glowEffect(anchor.parent().parent(),1000); // enum value + } else if (anchor.parent().attr('class')=='fieldtype'){ + glowEffect(anchor.parent().parent(),1000); // struct field + } else if (anchor.parent().is(":header")) { + glowEffect(anchor.parent(),1000); // section header + } else { + glowEffect(anchor.next(),1000); // normal member + } + gotoAnchor(anchor,aname,false); +} + +function selectAndHighlight(hash,n) +{ + var a; + if (hash) { + var link=stripPath(pathName())+':'+hash.substring(1); + a=$('.item a[class$="'+link+'"]'); + } + if (a && a.length) { + a.parent().parent().addClass('selected'); + a.parent().parent().attr('id','selected'); + highlightAnchor(); + } else if (n) { + $(n.itemDiv).addClass('selected'); + $(n.itemDiv).attr('id','selected'); + } + if ($('#nav-tree-contents .item:first').hasClass('selected')) { + $('#nav-sync').css('top','30px'); + } else { + $('#nav-sync').css('top','5px'); + } + showRoot(); +} + +function showNode(o, node, index, hash) +{ + if (node && node.childrenData) { + if (typeof(node.childrenData)==='string') { + var varName = node.childrenData; + getScript(node.relpath+varName,function(){ + node.childrenData = getData(varName); + showNode(o,node,index,hash); + },true); + } else { + if (!node.childrenVisited) { + getNode(o, node); + } + $(node.getChildrenUL()).css({'display':'block'}); + node.plus_img.innerHTML = arrowDown; + node.expanded = true; + var n = node.children[o.breadcrumbs[index]]; + if (index+11) hash = '#'+parts[1].replace(/[^\w\-]/g,''); + else hash=''; + } + if (hash.match(/^#l\d+$/)) { + var anchor=$('a[name='+hash.substring(1)+']'); + glowEffect(anchor.parent(),1000); // line number + hash=''; // strip line number anchors + } + var url=root+hash; + var i=-1; + while (NAVTREEINDEX[i+1]<=url) i++; + if (i==-1) { i=0; root=NAVTREE[0][1]; } // fallback: show index + if (navTreeSubIndices[i]) { + gotoNode(o,i,root,hash,relpath) + } else { + getScript(relpath+'navtreeindex'+i,function(){ + navTreeSubIndices[i] = eval('NAVTREEINDEX'+i); + if (navTreeSubIndices[i]) { + gotoNode(o,i,root,hash,relpath); + } + },true); + } +} + +function showSyncOff(n,relpath) +{ + n.html(''); +} + +function showSyncOn(n,relpath) +{ + n.html(''); +} + +function toggleSyncButton(relpath) +{ + var navSync = $('#nav-sync'); + if (navSync.hasClass('sync')) { + navSync.removeClass('sync'); + showSyncOff(navSync,relpath); + storeLink(stripPath2(pathName())+hashUrl()); + } else { + navSync.addClass('sync'); + showSyncOn(navSync,relpath); + deleteLink(); + } +} + +function initNavTree(toroot,relpath) +{ + var o = new Object(); + o.toroot = toroot; + o.node = new Object(); + o.node.li = document.getElementById("nav-tree-contents"); + o.node.childrenData = NAVTREE; + o.node.children = new Array(); + o.node.childrenUL = document.createElement("ul"); + o.node.getChildrenUL = function() { return o.node.childrenUL; }; + o.node.li.appendChild(o.node.childrenUL); + o.node.depth = 0; + o.node.relpath = relpath; + o.node.expanded = false; + o.node.isLast = true; + o.node.plus_img = document.createElement("span"); + o.node.plus_img.className = 'arrow'; + o.node.plus_img.innerHTML = arrowRight; + + if (localStorageSupported()) { + var navSync = $('#nav-sync'); + if (cachedLink()) { + showSyncOff(navSync,relpath); + navSync.removeClass('sync'); + } else { + showSyncOn(navSync,relpath); + } + navSync.click(function(){ toggleSyncButton(relpath); }); + } + + $(window).load(function(){ + navTo(o,toroot,hashUrl(),relpath); + showRoot(); + }); + + $(window).bind('hashchange', function(){ + if (window.location.hash && window.location.hash.length>1){ + var a; + if ($(location).attr('hash')){ + var clslink=stripPath(pathName())+':'+hashValue(); + a=$('.item a[class$="'+clslink.replace(/ + + + + + @@ -45,6 +52,20 @@ $(function() { +
+ +
+
+
+ +
+ - + diff --git a/particlebody_8cpp.html b/particlebody_8cpp.html new file mode 100644 index 00000000..83e68724 --- /dev/null +++ b/particlebody_8cpp.html @@ -0,0 +1,112 @@ + + + + + + + +YAGE: src/particlebody.cpp File Reference + + + + + + + + + + + + + + +
+
+
[in]minput matrix.
+ + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + + +
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
particlebody.cpp File Reference
+
+
+
#include "Physics/particlebody.hpp"
+#include <cmath>
+#include <iostream>
+
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/particlebody_8hpp.html b/particlebody_8hpp.html new file mode 100644 index 00000000..46020775 --- /dev/null +++ b/particlebody_8hpp.html @@ -0,0 +1,119 @@ + + + + + + + +YAGE: include/YAGE/Physics/particlebody.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
particlebody.hpp File Reference
+
+
+
#include "Math/matrix.hpp"
+#include "body.hpp"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::ParticleBody
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/particlebody_8hpp_source.html b/particlebody_8hpp_source.html index be762175..642627de 100644 --- a/particlebody_8hpp_source.html +++ b/particlebody_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
particlebody.hpp
-
1 /* ----------------------------------------------------------------------------
2  * particlebody.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_PARTICLE_BODY_HPP
10 #define YAGE_PARTICLE_BODY_HPP
11 
12 #include "Math/matrix.hpp"
13 
14 #include "body.hpp"
15 
16 namespace yage {
17 
18 class ParticleBody : public Body {
19 public:
20  ParticleBody(const Vector2d& position = Vector2d(0, 0), double mass = 1,
21  const Vector2d& velocity = Vector2d(0, 0),
22  bool gravity = true);
23 
24  // apply a force to the rigid body
25  virtual void applyForce(const Vector2d& force);
26  virtual void update();
27 };
28 
29 } // yage
30 
31 #endif
Templated matrix class.
-
Vector2< double > Vector2d
Definition of a 2D vector.
Definition: matrix.hpp:314
-
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * particlebody.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_PARTICLE_BODY_HPP
10 #define YAGE_PARTICLE_BODY_HPP
11 
12 #include "Math/matrix.hpp"
13 
14 #include "body.hpp"
15 
16 namespace yage {
17 
18 class ParticleBody : public Body {
19 public:
20  ParticleBody(const Vector2d& position = Vector2d(0, 0), double mass = 1,
21  const Vector2d& velocity = Vector2d(0, 0),
22  bool gravity = true);
23 
24  // apply a force to the rigid body
25  void applyForce(const Vector2d& force) override override;
26  void update() override override;
27 };
28 
29 } // yage
30 
31 #endif
+
void update() override override
Definition: particlebody.cpp:22
+ +
ParticleBody(const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=true)
Definition: particlebody.cpp:16
+
Definition: particlebody.hpp:18
+
Definition: body.hpp:15
+
Vector2< double > Vector2d
Definition of a 2D vector.
Definition: matrix.hpp:316
+
void applyForce(const Vector2d &force) override override
Definition: particlebody.cpp:20
+ +
Templated matrix class.
Definition: camera2d.hpp:17
+
- + diff --git a/particlebodytest_8cpp.html b/particlebodytest_8cpp.html new file mode 100644 index 00000000..4f59094d --- /dev/null +++ b/particlebodytest_8cpp.html @@ -0,0 +1,191 @@ + + + + + + + +YAGE: test/particlebodytest.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
particlebodytest.cpp File Reference
+
+
+
#include <cmath>
+#include <cstdlib>
+#include "Physics/particlebody.hpp"
+#include "gtest/gtest.h"
+
+ + + + + + + +

+Functions

double gravityAcceleration (int iterations)
 
 TEST (ParticleBody, Gravity)
 
int main (int argc, char **argv)
 
+

Function Documentation

+ +

◆ gravityAcceleration()

+ +
+
+ + + + + + + + +
double gravityAcceleration (int iterations)
+
+ +
+
+ +

◆ main()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int argc,
char ** argv 
)
+
+ +
+
+ +

◆ TEST()

+ +
+
+ + + + + + + + + + + + + + + + + + +
TEST (ParticleBody ,
Gravity  
)
+
+ +
+
+
+
+ + + + diff --git a/particlebodytest_8cpp.js b/particlebodytest_8cpp.js new file mode 100644 index 00000000..c583ee8e --- /dev/null +++ b/particlebodytest_8cpp.js @@ -0,0 +1,6 @@ +var particlebodytest_8cpp = +[ + [ "gravityAcceleration", "particlebodytest_8cpp.html#ad4bd594527645d0ee5fcb1d8d4e4d405", null ], + [ "main", "particlebodytest_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627", null ], + [ "TEST", "particlebodytest_8cpp.html#a9de6f26822ada90ec4e52f005c45f198", null ] +]; \ No newline at end of file diff --git a/physics_8hpp.html b/physics_8hpp.html new file mode 100644 index 00000000..c5c3eda7 --- /dev/null +++ b/physics_8hpp.html @@ -0,0 +1,108 @@ + + + + + + + +YAGE: include/YAGE/Physics/physics.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
physics.hpp File Reference
+
+
+
#include "body.hpp"
+#include "collider.hpp"
+#include "collisionbody.hpp"
+#include "particlebody.hpp"
+#include "rectanglecollider.hpp"
+#include "rigidbody.hpp"
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/physics_8hpp_source.html b/physics_8hpp_source.html index 738a7fe9..9c7394c1 100644 --- a/physics_8hpp_source.html +++ b/physics_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
physics.hpp
-
1 /* ----------------------------------------------------------------------------
2  * physics.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_PHYSICS_HPP
10 #define YAGE_PHYSICS_HPP
11 
12 #include "body.hpp"
13 #include "collider.hpp"
14 #include "collisionbody.hpp"
15 #include "particlebody.hpp"
16 #include "rectanglecollider.hpp"
17 #include "rigidbody.hpp"
18 
19 #endif
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * physics.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_PHYSICS_HPP
10 #define YAGE_PHYSICS_HPP
11 
12 #include "body.hpp"
13 #include "collider.hpp"
14 #include "collisionbody.hpp"
15 #include "particlebody.hpp"
16 #include "rectanglecollider.hpp"
17 #include "rigidbody.hpp"
18 
19 #endif
+ + + + + +
+ - + diff --git a/picopng_8cpp.html b/picopng_8cpp.html new file mode 100644 index 00000000..d565b717 --- /dev/null +++ b/picopng_8cpp.html @@ -0,0 +1,117 @@ + + + + + + + +YAGE: src/picopng.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
picopng.cpp File Reference
+
+
+
#include <cstdlib>
+#include <vector>
+
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+ + + +

+Functions

int yage::decodePNG (std::vector< unsigned char > &out_image, unsigned long &image_width, unsigned long &image_height, const unsigned char *in_png, size_t in_size, bool convert_to_rgba32=true)
 
+
+
+ + + + diff --git a/picopng_8cpp.js b/picopng_8cpp.js new file mode 100644 index 00000000..3ab486b8 --- /dev/null +++ b/picopng_8cpp.js @@ -0,0 +1,4 @@ +var picopng_8cpp = +[ + [ "decodePNG", "picopng_8cpp.html#a60fa59da6c362523413ddcd5739a9891", null ] +]; \ No newline at end of file diff --git a/picopng_8hpp.html b/picopng_8hpp.html new file mode 100644 index 00000000..0bc26cb3 --- /dev/null +++ b/picopng_8hpp.html @@ -0,0 +1,119 @@ + + + + + + + +YAGE: include/YAGE/picopng.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
picopng.hpp File Reference
+
+
+
#include <vector>
+#include <cstdlib>
+
+

Go to the source code of this file.

+ + + + + +

+Namespaces

 yage
 Templated matrix class.
 
+ + + +

+Functions

int yage::decodePNG (std::vector< unsigned char > &out_image, unsigned long &image_width, unsigned long &image_height, const unsigned char *in_png, size_t in_size, bool convert_to_rgba32=true)
 
+
+
+ + + + diff --git a/picopng_8hpp.js b/picopng_8hpp.js new file mode 100644 index 00000000..8b32cde5 --- /dev/null +++ b/picopng_8hpp.js @@ -0,0 +1,4 @@ +var picopng_8hpp = +[ + [ "decodePNG", "picopng_8hpp.html#a60fa59da6c362523413ddcd5739a9891", null ] +]; \ No newline at end of file diff --git a/picopng_8hpp_source.html b/picopng_8hpp_source.html index 8fb6921e..1f0ea50c 100644 --- a/picopng_8hpp_source.html +++ b/picopng_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
picopng.hpp
-
1 /* ----------------------------------------------------------------------------
2  * picopng.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #include <vector>
10 #include <cstdlib>
11 
12 namespace yage
13 {
14 
15 extern int decodePNG(std::vector<unsigned char> &out_image,
16  unsigned long &image_width,
17  unsigned long &image_height,
18  const unsigned char *in_png,
19  size_t in_size,
20  bool convert_to_rgba32 = true);
21 
22 } // yage
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * picopng.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #include <vector>
10 #include <cstdlib>
11 
12 namespace yage
13 {
14 
15 extern int decodePNG(std::vector<unsigned char> &out_image,
16  unsigned long &image_width,
17  unsigned long &image_height,
18  const unsigned char *in_png,
19  size_t in_size,
20  bool convert_to_rgba32 = true);
21 
22 } // yage
int decodePNG(std::vector< unsigned char > &out_image, unsigned long &image_width, unsigned long &image_height, const unsigned char *in_png, size_t in_size, bool convert_to_rgba32=true)
Definition: picopng.cpp:33
+
Templated matrix class.
Definition: camera2d.hpp:17
+
- + diff --git a/rectanglecollider_8cpp.html b/rectanglecollider_8cpp.html new file mode 100644 index 00000000..4348abc9 --- /dev/null +++ b/rectanglecollider_8cpp.html @@ -0,0 +1,110 @@ + + + + + + + +YAGE: src/rectanglecollider.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
rectanglecollider.cpp File Reference
+
+
+ + + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/rectanglecollider_8hpp.html b/rectanglecollider_8hpp.html new file mode 100644 index 00000000..6cdb2402 --- /dev/null +++ b/rectanglecollider_8hpp.html @@ -0,0 +1,119 @@ + + + + + + + +YAGE: include/YAGE/Physics/rectanglecollider.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
rectanglecollider.hpp File Reference
+
+
+
#include "Physics/collider.hpp"
+#include <glm/glm.hpp>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::RectangleCollider
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/rectanglecollider_8hpp_source.html b/rectanglecollider_8hpp_source.html index 948bfc2d..1041e7ed 100644 --- a/rectanglecollider_8hpp_source.html +++ b/rectanglecollider_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
rectanglecollider.hpp
-
1 /* ----------------------------------------------------------------------------
2  * rectanglecollider.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_RECTANGLE_COLLIDER_HPP
10 #define YAGE_RECTANGLE_COLLIDER_HPP
11 
12 #include "Physics/collider.hpp"
13 
14 #include <glm/glm.hpp>
15 
16 namespace yage {
17 
18 class RectangleCollider : public Collider {
19 public:
20  RectangleCollider(const glm::vec2& position, const glm::vec2& size);
21 
22  virtual bool collides(const Collider& collider) const;
23  virtual bool inside(const glm::vec2& point) const;
24 };
25 
26 } // yage
27 
28 #endif
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * rectanglecollider.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_RECTANGLE_COLLIDER_HPP
10 #define YAGE_RECTANGLE_COLLIDER_HPP
11 
12 #include "Physics/collider.hpp"
13 
14 #include <glm/glm.hpp>
15 
16 namespace yage {
17 
18 class RectangleCollider : public Collider {
19 public:
20  RectangleCollider(const glm::vec2& position, const glm::vec2& size);
21 
22  bool collides(const Collider& collider) const override;
23  bool inside(const glm::vec2& point) const override;
24 };
25 
26 } // yage
27 
28 #endif
RectangleCollider(const glm::vec2 &position, const glm::vec2 &size)
Definition: rectanglecollider.cpp:13
+
bool collides(const Collider &collider) const override
Definition: rectanglecollider.cpp:17
+
Definition: rectanglecollider.hpp:18
+
bool inside(const glm::vec2 &point) const override
Definition: rectanglecollider.cpp:24
+
Definition: collider.hpp:18
+
Templated matrix class.
Definition: camera2d.hpp:17
+
+
- + diff --git a/resize.js b/resize.js new file mode 100644 index 00000000..56e4a023 --- /dev/null +++ b/resize.js @@ -0,0 +1,114 @@ +function initResizable() +{ + var cookie_namespace = 'doxygen'; + var sidenav,navtree,content,header,collapsed,collapsedWidth=0,barWidth=6,desktop_vp=768,titleHeight; + + function readCookie(cookie) + { + var myCookie = cookie_namespace+"_"+cookie+"="; + if (document.cookie) { + var index = document.cookie.indexOf(myCookie); + if (index != -1) { + var valStart = index + myCookie.length; + var valEnd = document.cookie.indexOf(";", valStart); + if (valEnd == -1) { + valEnd = document.cookie.length; + } + var val = document.cookie.substring(valStart, valEnd); + return val; + } + } + return 0; + } + + function writeCookie(cookie, val, expiration) + { + if (val==undefined) return; + if (expiration == null) { + var date = new Date(); + date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week + expiration = date.toGMTString(); + } + document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; expires=" + expiration+"; path=/"; + } + + function resizeWidth() + { + var windowWidth = $(window).width() + "px"; + var sidenavWidth = $(sidenav).outerWidth(); + content.css({marginLeft:parseInt(sidenavWidth)+"px"}); + writeCookie('width',sidenavWidth-barWidth, null); + } + + function restoreWidth(navWidth) + { + var windowWidth = $(window).width() + "px"; + content.css({marginLeft:parseInt(navWidth)+barWidth+"px"}); + sidenav.css({width:navWidth + "px"}); + } + + function resizeHeight() + { + var headerHeight = header.outerHeight(); + var footerHeight = footer.outerHeight(); + var windowHeight = $(window).height() - headerHeight - footerHeight; + content.css({height:windowHeight + "px"}); + navtree.css({height:windowHeight + "px"}); + sidenav.css({height:windowHeight + "px"}); + var width=$(window).width(); + if (width!=collapsedWidth) { + if (width=desktop_vp) { + if (!collapsed) { + collapseExpand(); + } + } else if (width>desktop_vp && collapsedWidth0) { + restoreWidth(0); + collapsed=true; + } + else { + var width = readCookie('width'); + if (width>200 && width<$(window).width()) { restoreWidth(width); } else { restoreWidth(200); } + collapsed=false; + } + } + + header = $("#top"); + sidenav = $("#side-nav"); + content = $("#doc-content"); + navtree = $("#nav-tree"); + footer = $("#nav-path"); + $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); + $(sidenav).resizable({ minWidth: 0 }); + $(window).resize(function() { resizeHeight(); }); + var device = navigator.userAgent.toLowerCase(); + var touch_device = device.match(/(iphone|ipod|ipad|android)/); + if (touch_device) { /* wider split bar for touch only devices */ + $(sidenav).css({ paddingRight:'20px' }); + $('.ui-resizable-e').css({ width:'20px' }); + $('#nav-sync').css({ right:'34px' }); + barWidth=20; + } + var width = readCookie('width'); + if (width) { restoreWidth(width); } else { resizeWidth(); } + resizeHeight(); + var url = location.href; + var i=url.indexOf("#"); + if (i>=0) window.location.hash=url.substr(i); + var _preventDefault = function(evt) { evt.preventDefault(); }; + $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); + $(".ui-resizable-handle").dblclick(collapseExpand); + $(window).load(resizeHeight); +} + + diff --git a/resourcemanager_8cpp.html b/resourcemanager_8cpp.html new file mode 100644 index 00000000..e00daad2 --- /dev/null +++ b/resourcemanager_8cpp.html @@ -0,0 +1,110 @@ + + + + + + + +YAGE: src/resourcemanager.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
resourcemanager.cpp File Reference
+
+
+
#include "resourcemanager.hpp"
+
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/resourcemanager_8hpp.html b/resourcemanager_8hpp.html new file mode 100644 index 00000000..d97b6bd7 --- /dev/null +++ b/resourcemanager_8hpp.html @@ -0,0 +1,120 @@ + + + + + + + +YAGE: include/YAGE/resourcemanager.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
resourcemanager.hpp File Reference
+
+
+
#include "texture.hpp"
+#include "texturecache.hpp"
+#include <string>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::ResourceManager
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/resourcemanager_8hpp_source.html b/resourcemanager_8hpp_source.html index 79da5db7..7377f632 100644 --- a/resourcemanager_8hpp_source.html +++ b/resourcemanager_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
resourcemanager.hpp
-
1 /* ----------------------------------------------------------------------------
2  * resourcemanager.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef RESOURCE_MANAGER_HPP
10 #define RESOURCE_MANAGER_HPP
11 
12 #include "texture.hpp"
13 #include "texturecache.hpp"
14 
15 #include <string>
16 
17 namespace yage {
18 
19 class ResourceManager {
20 private:
21  static TextureCache texture_cache_;
22 
23 public:
24  static Texture getTexture(const std::string& texture_path);
25 };
26 
27 } // yage
28 
29 #endif
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * resourcemanager.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef RESOURCE_MANAGER_HPP
10 #define RESOURCE_MANAGER_HPP
11 
12 #include "texture.hpp"
13 #include "texturecache.hpp"
14 
15 #include <string>
16 
17 namespace yage {
18 
20 private:
22 
23 public:
24  static Texture getTexture(const std::string& texture_path);
25 };
26 
27 } // yage
28 
29 #endif
static TextureCache texture_cache_
Definition: resourcemanager.hpp:21
+
Definition: resourcemanager.hpp:19
+
static Texture getTexture(const std::string &texture_path)
Definition: resourcemanager.cpp:15
+ +
Definition: texture.hpp:16
+ +
Definition: texturecache.hpp:18
+
Templated matrix class.
Definition: camera2d.hpp:17
+
- + diff --git a/rigidbody_8cpp.html b/rigidbody_8cpp.html new file mode 100644 index 00000000..afb116db --- /dev/null +++ b/rigidbody_8cpp.html @@ -0,0 +1,110 @@ + + + + + + + +YAGE: src/rigidbody.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
rigidbody.cpp File Reference
+
+
+ + + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/rigidbody_8hpp.html b/rigidbody_8hpp.html new file mode 100644 index 00000000..0a1a83da --- /dev/null +++ b/rigidbody_8hpp.html @@ -0,0 +1,119 @@ + + + + + + + +YAGE: include/YAGE/Physics/rigidbody.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
rigidbody.hpp File Reference
+
+
+
#include <glm/glm.hpp>
+#include "particlebody.hpp"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::RigidBody
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/rigidbody_8hpp_source.html b/rigidbody_8hpp_source.html index 4e8419c3..1f6c7f88 100644 --- a/rigidbody_8hpp_source.html +++ b/rigidbody_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
rigidbody.hpp
-
1 /* ----------------------------------------------------------------------------
2  * rigidbody.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_RIGID_BODY_HPP
10 #define YAGE_RIGID_BODY_HPP
11 
12 #include <glm/glm.hpp>
13 
14 #include "particlebody.hpp"
15 
16 namespace yage {
17 
18 class RigidBody : public ParticleBody {
19 public:
20  RigidBody(const Vector2d& position = Vector2d(0, 0), double mass = 1,
21  const Vector2d& velocity = Vector2d(0, 0), bool gravity = true);
22 };
23 
24 } // yage
25 
26 #endif
Vector2< double > Vector2d
Definition of a 2D vector.
Definition: matrix.hpp:314
-
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * rigidbody.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_RIGID_BODY_HPP
10 #define YAGE_RIGID_BODY_HPP
11 
12 #include <glm/glm.hpp>
13 
14 #include "particlebody.hpp"
15 
16 namespace yage {
17 
18 class RigidBody : public ParticleBody {
19 public:
20  RigidBody(const Vector2d& position = Vector2d(0, 0), double mass = 1,
21  const Vector2d& velocity = Vector2d(0, 0), bool gravity = true);
22 };
23 
24 } // yage
25 
26 #endif
+
Definition: particlebody.hpp:18
+
RigidBody(const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=true)
Definition: rigidbody.cpp:13
+
Definition: rigidbody.hpp:18
+
Vector2< double > Vector2d
Definition of a 2D vector.
Definition: matrix.hpp:316
+ +
Templated matrix class.
Definition: camera2d.hpp:17
+
- + diff --git a/search/all_0.js b/search/all_0.js index 48682bc0..1cb8ee0d 100644 --- a/search/all_0.js +++ b/search/all_0.js @@ -1,4 +1,9 @@ var searchData= [ - ['begin',['begin',['../classyage_1_1Matrix.html#a83d77d3a40ced5e2b703a6d66b6e6055',1,'yage::Matrix']]] + ['a',['a',['../structyage_1_1Color.html#a1df3f4a850d0e50dba19e0681d71f3a6',1,'yage::Color']]], + ['acceleration_5f',['acceleration_',['../classyage_1_1Body.html#a36c0a4485bf9a704901d88c6cf212a5f',1,'yage::Body']]], + ['addattribute',['addAttribute',['../classyage_1_1GlslProgram.html#a4e38b9f5daaf4b111b69e4d2900d4970',1,'yage::GlslProgram']]], + ['applyforce',['applyForce',['../classyage_1_1Body.html#a56310be4f9d7d2d4e7f954af0e0a5878',1,'yage::Body::applyForce()'],['../classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425',1,'yage::ParticleBody::applyForce()']]], + ['architecture_5fid',['ARCHITECTURE_ID',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28',1,'ARCHITECTURE_ID(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#aba35d0d200deaeb06aee95ca297acb28',1,'ARCHITECTURE_ID(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28',1,'ARCHITECTURE_ID(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#aba35d0d200deaeb06aee95ca297acb28',1,'ARCHITECTURE_ID(): CMakeCXXCompilerId.cpp']]], + ['attribute_5findex_5f',['attribute_index_',['../classyage_1_1GlslProgram.html#a55d4f797833c688be78c00882112e486',1,'yage::GlslProgram']]] ]; diff --git a/search/all_1.js b/search/all_1.js index 230a28fd..78987335 100644 --- a/search/all_1.js +++ b/search/all_1.js @@ -1,4 +1,13 @@ var searchData= [ - ['colsize',['colSize',['../classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a',1,'yage::Matrix']]] + ['b',['b',['../structyage_1_1Color.html#a01253439ca70585948fb560ecdd3e766',1,'yage::Color']]], + ['begin',['begin',['../classyage_1_1Matrix.html#a83d77d3a40ced5e2b703a6d66b6e6055',1,'yage::Matrix::begin()'],['../classyage_1_1SpriteBatch.html#af6293aac69e1124199297e5b921a4872',1,'yage::SpriteBatch::begin()']]], + ['body',['Body',['../classyage_1_1Body.html',1,'yage::Body'],['../classyage_1_1Body.html#aeca769807d9b6f6fb3c9f61deaa83b86',1,'yage::Body::Body()']]], + ['body_2ecpp',['body.cpp',['../body_8cpp.html',1,'']]], + ['body_2ehpp',['body.hpp',['../body_8hpp.html',1,'']]], + ['borderless',['BORDERLESS',['../namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38afa8ece0eef17c604369ca69bc4b09970',1,'yage']]], + ['bottom_5fleft',['bottom_left',['../classyage_1_1Glyph.html#a8d8150986db3f0985f1b5d9622f83854',1,'yage::Glyph']]], + ['bottom_5fleft_5f',['bottom_left_',['../classyage_1_1Glyph.html#add70123a08d594e4cfb627a03ae8daad',1,'yage::Glyph']]], + ['bottom_5fright',['bottom_right',['../classyage_1_1Glyph.html#a3db3e9cd03629c6c37a597d5779d1024',1,'yage::Glyph']]], + ['bottom_5fright_5f',['bottom_right_',['../classyage_1_1Glyph.html#a6240a88991e31b2fc8ed5dccfc362234',1,'yage::Glyph']]] ]; diff --git a/search/all_10.html b/search/all_10.html new file mode 100644 index 00000000..d1345a1f --- /dev/null +++ b/search/all_10.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/all_10.js b/search/all_10.js new file mode 100644 index 00000000..3dc8b514 --- /dev/null +++ b/search/all_10.js @@ -0,0 +1,20 @@ +var searchData= +[ + ['r',['r',['../structyage_1_1Color.html#a5a97b7679703c28ad0c90d1bedde5da1',1,'yage::Color']]], + ['readfiletobuffer',['readFileToBuffer',['../classyage_1_1IoManager.html#a75d13ca634df592e44e4152fedcd446d',1,'yage::IoManager']]], + ['readme_2emd',['README.md',['../docs_2README_8md.html',1,'(Global Namespace)'],['../README_8md.html',1,'(Global Namespace)']]], + ['rectanglecollider',['RectangleCollider',['../classyage_1_1RectangleCollider.html',1,'yage::RectangleCollider'],['../classyage_1_1RectangleCollider.html#af9e0964655073b0a190c9d06b449a969',1,'yage::RectangleCollider::RectangleCollider()']]], + ['rectanglecollider_2ecpp',['rectanglecollider.cpp',['../rectanglecollider_8cpp.html',1,'']]], + ['rectanglecollider_2ehpp',['rectanglecollider.hpp',['../rectanglecollider_8hpp.html',1,'']]], + ['render',['render',['../classyage_1_1SpriteBatch.html#a195c4aca60815d413c65dce99389282d',1,'yage::SpriteBatch']]], + ['render_5fbatches_5f',['render_batches_',['../classyage_1_1SpriteBatch.html#abf057ffe5fd9b7c35256dad147391008',1,'yage::SpriteBatch']]], + ['renderbatch',['RenderBatch',['../classyage_1_1RenderBatch.html',1,'yage::RenderBatch'],['../classyage_1_1RenderBatch.html#a4a3a3180c63c51178871648d4c8e6853',1,'yage::RenderBatch::RenderBatch()']]], + ['resourcemanager',['ResourceManager',['../classyage_1_1ResourceManager.html',1,'yage']]], + ['resourcemanager_2ecpp',['resourcemanager.cpp',['../resourcemanager_8cpp.html',1,'']]], + ['resourcemanager_2ehpp',['resourcemanager.hpp',['../resourcemanager_8hpp.html',1,'']]], + ['rigidbody',['RigidBody',['../classyage_1_1RigidBody.html',1,'yage::RigidBody'],['../classyage_1_1RigidBody.html#aed946934f970694c6f6840b09600a606',1,'yage::RigidBody::RigidBody()']]], + ['rigidbody_2ecpp',['rigidbody.cpp',['../rigidbody_8cpp.html',1,'']]], + ['rigidbody_2ehpp',['rigidbody.hpp',['../rigidbody_8hpp.html',1,'']]], + ['row',['Row',['../classyage_1_1detail_1_1Row.html',1,'yage::detail::Row< Rows, Cols, Type >'],['../classyage_1_1detail_1_1Row.html#aed5d16657dfa849a6ea1b8b05f5bbcf8',1,'yage::detail::Row::Row()']]], + ['rowsize',['rowSize',['../classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965',1,'yage::Matrix']]] +]; diff --git a/search/all_11.html b/search/all_11.html new file mode 100644 index 00000000..2be8b711 --- /dev/null +++ b/search/all_11.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/all_11.js b/search/all_11.js new file mode 100644 index 00000000..f00603a4 --- /dev/null +++ b/search/all_11.js @@ -0,0 +1,19 @@ +var searchData= +[ + ['scale_5f',['scale_',['../classyage_1_1Camera2D.html#abf1432e35cef0a54f35863f13a9d5448',1,'yage::Camera2D']]], + ['setcolor',['setColor',['../structyage_1_1Vertex.html#a0dc5fa6c669b4c10a8d56702f2aa9b50',1,'yage::Vertex']]], + ['setposition',['setPosition',['../structyage_1_1Vertex.html#af392248f0be173221ebcc62d490fe03d',1,'yage::Vertex']]], + ['setuv',['setUv',['../structyage_1_1Vertex.html#aa1fa8f5ebd883068828466cc924d4c50',1,'yage::Vertex']]], + ['shown',['SHOWN',['../namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a7c4273d3feb1dc60a55a74c37c3fddd6',1,'yage']]], + ['size_5f',['size_',['../classyage_1_1Collider.html#ad7456f84c1acb4fd9ee0ea67c8ee7308',1,'yage::Collider']]], + ['sortglyphs',['sortGlyphs',['../classyage_1_1SpriteBatch.html#adea6570f196b203a4d6e07ad66738c9a',1,'yage::SpriteBatch']]], + ['sprite',['Sprite',['../classyage_1_1Sprite.html',1,'yage::Sprite'],['../classyage_1_1Sprite.html#a80b2bc32161d2444f4a4cf3492effc06',1,'yage::Sprite::Sprite()'],['../classyage_1_1Sprite.html#aa5a7958e17f1d042226b91fb1829642e',1,'yage::Sprite::Sprite(const Sprite &)=delete'],['../classyage_1_1Sprite.html#a33789b3e37bfcb84ed89ec69f47817a1',1,'yage::Sprite::Sprite(Sprite &&)=delete']]], + ['sprite_2ecpp',['sprite.cpp',['../sprite_8cpp.html',1,'']]], + ['sprite_2ehpp',['sprite.hpp',['../sprite_8hpp.html',1,'']]], + ['spritebatch',['SpriteBatch',['../classyage_1_1SpriteBatch.html',1,'yage::SpriteBatch'],['../classyage_1_1RenderBatch.html#ad12ecf32cf9f9244afa7e9ad15b4e78f',1,'yage::RenderBatch::SpriteBatch()'],['../classyage_1_1SpriteBatch.html#afda50a8a2a6c9ffd1b9d962fae223f8a',1,'yage::SpriteBatch::SpriteBatch()'],['../classyage_1_1SpriteBatch.html#a30a46a7182235a739916d540781af652',1,'yage::SpriteBatch::SpriteBatch(const SpriteBatch &)=delete'],['../classyage_1_1SpriteBatch.html#a7f18a506f4188acd2219da8147dc0e1e',1,'yage::SpriteBatch::SpriteBatch(SpriteBatch &&)=delete']]], + ['spritebatch_2ecpp',['spritebatch.cpp',['../spritebatch_8cpp.html',1,'']]], + ['spritebatch_2ehpp',['spritebatch.hpp',['../spritebatch_8hpp.html',1,'']]], + ['stringify',['STRINGIFY',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8',1,'STRINGIFY(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a43e1cad902b6477bec893cb6430bd6c8',1,'STRINGIFY(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8',1,'STRINGIFY(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a43e1cad902b6477bec893cb6430bd6c8',1,'STRINGIFY(): CMakeCXXCompilerId.cpp']]], + ['stringify_5fhelper',['STRINGIFY_HELPER',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d',1,'STRINGIFY_HELPER(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d',1,'STRINGIFY_HELPER(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d',1,'STRINGIFY_HELPER(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d',1,'STRINGIFY_HELPER(): CMakeCXXCompilerId.cpp']]], + ['swapbuffer',['swapBuffer',['../classyage_1_1Window.html#a86d0aa8e9896850b9acfc720b5615359',1,'yage::Window']]] +]; diff --git a/search/all_12.html b/search/all_12.html new file mode 100644 index 00000000..13c52637 --- /dev/null +++ b/search/all_12.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/all_12.js b/search/all_12.js new file mode 100644 index 00000000..ec562103 --- /dev/null +++ b/search/all_12.js @@ -0,0 +1,18 @@ +var searchData= +[ + ['test',['TEST',['../matrixtest_8cpp.html#a1994b66beb3b4846bb593a0f9d86edf6',1,'TEST(Matrix, Assign): matrixtest.cpp'],['../matrixtest_8cpp.html#a1d5929fedb7ac7808b0eac220aa27693',1,'TEST(Matrix, Addition): matrixtest.cpp'],['../matrixtest_8cpp.html#a4ba25f18d624c0816cd94f6a32a2c973',1,'TEST(Vector, DotProduct): matrixtest.cpp'],['../particlebodytest_8cpp.html#a9de6f26822ada90ec4e52f005c45f198',1,'TEST(ParticleBody, Gravity): particlebodytest.cpp'],['../windowtest_8cpp.html#a863a0cf6145219a8c3cb62e9e7c53d48',1,'TEST(Window, Open): windowtest.cpp'],['../yagetest_8cpp.html#a4cfeec349f381f0c21ef755a97250676',1,'TEST(YAGE, InitQuit): yagetest.cpp']]], + ['texture',['Texture',['../structyage_1_1Texture.html',1,'yage::Texture'],['../classyage_1_1Glyph.html#af59de1a9642b07583d49197bc9d74747',1,'yage::Glyph::texture()'],['../classyage_1_1RenderBatch.html#a54102dde86a787d06d47928de8f72c3f',1,'yage::RenderBatch::texture()']]], + ['texture_2ehpp',['texture.hpp',['../texture_8hpp.html',1,'']]], + ['texture_5f',['texture_',['../classyage_1_1Sprite.html#ac8f6505d7b080bb346458e6d70cc60d0',1,'yage::Sprite::texture_()'],['../classyage_1_1Glyph.html#a2efbe49c2307601731416d615ac415c8',1,'yage::Glyph::texture_()'],['../classyage_1_1RenderBatch.html#a17da9d35451d55766836917699406160',1,'yage::RenderBatch::texture_()']]], + ['texture_5fcache_5f',['texture_cache_',['../classyage_1_1ResourceManager.html#a2799a8ff957874fbe7b7c791781255f6',1,'yage::ResourceManager']]], + ['texture_5fmap_5f',['texture_map_',['../classyage_1_1TextureCache.html#aecd72d2dd02efb862548e4def6f6b323',1,'yage::TextureCache']]], + ['texturecache',['TextureCache',['../classyage_1_1TextureCache.html',1,'yage::TextureCache'],['../classyage_1_1TextureCache.html#a5e96e92a02ded2af93e91df54f08300d',1,'yage::TextureCache::TextureCache()']]], + ['texturecache_2ecpp',['texturecache.cpp',['../texturecache_8cpp.html',1,'']]], + ['texturecache_2ehpp',['texturecache.hpp',['../texturecache_8hpp.html',1,'']]], + ['top_5fleft',['top_left',['../classyage_1_1Glyph.html#a6a86e79419ccea7f6921685c197453a1',1,'yage::Glyph']]], + ['top_5fleft_5f',['top_left_',['../classyage_1_1Glyph.html#a71c5c3381928153e3eb2f67461b76a2d',1,'yage::Glyph']]], + ['top_5fright',['top_right',['../classyage_1_1Glyph.html#aac14f7258926c0c06ec594bc616ed5d0',1,'yage::Glyph']]], + ['top_5fright_5f',['top_right_',['../classyage_1_1Glyph.html#a9db1936e683cafe3b6ef72f63b3241fa',1,'yage::Glyph']]], + ['tostring',['toString',['../classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7',1,'yage::Matrix::toString()'],['../classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985',1,'yage::Vector::toString()']]], + ['transpose',['transpose',['../namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7',1,'yage::matrix']]] +]; diff --git a/search/all_13.html b/search/all_13.html new file mode 100644 index 00000000..b4a8bca6 --- /dev/null +++ b/search/all_13.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/all_13.js b/search/all_13.js new file mode 100644 index 00000000..47261291 --- /dev/null +++ b/search/all_13.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['u',['u',['../structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053',1,'yage::UV']]], + ['unuse',['unuse',['../classyage_1_1GlslProgram.html#a2afa98cbf5d25b634e01b863c33fcf8f',1,'yage::GlslProgram']]], + ['update',['update',['../classyage_1_1Camera2D.html#addc194a43322262e7d102f212e5f5cf7',1,'yage::Camera2D::update()'],['../classyage_1_1Body.html#a17017d183f3f9ecdff779fd6f82c5d36',1,'yage::Body::update()'],['../classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d',1,'yage::ParticleBody::update()']]], + ['use',['use',['../classyage_1_1GlslProgram.html#a762b44540ef219ff39f784543fc162c3',1,'yage::GlslProgram']]], + ['uv',['UV',['../structyage_1_1UV.html',1,'yage::UV'],['../structyage_1_1UV.html#ae236139f3a5f6024aac1e21bd93b7bde',1,'yage::UV::UV()=default'],['../structyage_1_1UV.html#ac918524789292937aae5803df3c2673f',1,'yage::UV::UV(float u_, float v_)'],['../structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e',1,'yage::Vertex::uv()']]] +]; diff --git a/search/all_14.html b/search/all_14.html new file mode 100644 index 00000000..fb4d0ecc --- /dev/null +++ b/search/all_14.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/all_14.js b/search/all_14.js new file mode 100644 index 00000000..1e1fe109 --- /dev/null +++ b/search/all_14.js @@ -0,0 +1,18 @@ +var searchData= +[ + ['v',['v',['../structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793',1,'yage::UV']]], + ['vao_5f',['vao_',['../classyage_1_1SpriteBatch.html#a00a06cc5f4bd47c2d5003cf2e3d7a6c1',1,'yage::SpriteBatch']]], + ['vbo_5f',['vbo_',['../classyage_1_1SpriteBatch.html#a56e335f07826ca61ba680981d46b043c',1,'yage::SpriteBatch']]], + ['vbo_5fid_5f',['vbo_id_',['../classyage_1_1Sprite.html#a0f48a2cd909000f719cde8dea33bf1ad',1,'yage::Sprite']]], + ['vector',['Vector',['../classyage_1_1Vector.html',1,'yage::Vector< Rows, Type >'],['../classyage_1_1Vector.html#ac9b202913c03bde201e350e855fbbffa',1,'yage::Vector::Vector()'],['../classyage_1_1Vector.html#a55fd6c60a95832ad4b68083071f9866f',1,'yage::Vector::Vector(const Matrix< Rows, 1, Type > &other)'],['../classyage_1_1Vector.html#aa291a8ee264f81165b529b7f3a0c265d',1,'yage::Vector::Vector(const std::vector< Type > &data)']]], + ['vector2',['Vector2',['../classyage_1_1Vector2.html',1,'yage::Vector2< Type >'],['../classyage_1_1Vector2.html#a50c108903be424de1c41ce31fddd23ea',1,'yage::Vector2::Vector2()'],['../classyage_1_1Vector2.html#af69d534302a406bac419589e0a2f2917',1,'yage::Vector2::Vector2(const std::vector< Type > &data)'],['../classyage_1_1Vector2.html#a3ef3bc2954f387f1db2165a884765ad0',1,'yage::Vector2::Vector2(Type x, Type y)'],['../classyage_1_1Vector2.html#aacee766d18741a925a47b91fa0080822',1,'yage::Vector2::Vector2(const Matrix< 2, 1, Type > &other)']]], + ['vector2_3c_20double_20_3e',['Vector2< double >',['../classyage_1_1Vector2.html',1,'yage']]], + ['vector2d',['Vector2d',['../namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898',1,'yage']]], + ['vector_3c_202_2c_20double_20_3e',['Vector< 2, double >',['../classyage_1_1Vector.html',1,'yage']]], + ['vector_3c_202_2c_20type_20_3e',['Vector< 2, Type >',['../classyage_1_1Vector.html',1,'yage']]], + ['vectordotproduct',['vectorDotProduct',['../matrixtest_8cpp.html#a1b776f4c64a26c055b88f98a6c6bd02d',1,'matrixtest.cpp']]], + ['velocity_5f',['velocity_',['../classyage_1_1Body.html#afead7edec899748eab78879e6e6c5741',1,'yage::Body']]], + ['vertex',['Vertex',['../structyage_1_1Vertex.html',1,'yage::Vertex'],['../structyage_1_1Vertex.html#acae9697c2762e37dfa4472b85fa112c3',1,'yage::Vertex::Vertex()=default'],['../structyage_1_1Vertex.html#ab2826fb0ec9c48aad0056250dfa9cc2e',1,'yage::Vertex::Vertex(const Position &position_, const Color &color_, const UV &uv_)']]], + ['vertex_2ehpp',['vertex.hpp',['../vertex_8hpp.html',1,'']]], + ['vertex_5fshader_5fid_5f',['vertex_shader_id_',['../classyage_1_1GlslProgram.html#afe46af121e9c0214be6f7b18660c5bc7',1,'yage::GlslProgram']]] +]; diff --git a/search/all_15.html b/search/all_15.html new file mode 100644 index 00000000..8afe9a03 --- /dev/null +++ b/search/all_15.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/all_15.js b/search/all_15.js new file mode 100644 index 00000000..12f88785 --- /dev/null +++ b/search/all_15.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['width',['width',['../structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598',1,'yage::Texture']]], + ['width_5f',['width_',['../classyage_1_1Sprite.html#a9699a12e74c0b78d3b4e396fed59b7a8',1,'yage::Sprite']]], + ['window',['Window',['../classyage_1_1Window.html',1,'yage::Window'],['../classyage_1_1Window.html#a7d7bd2f22e095df387e8b5cda2bb484e',1,'yage::Window::Window()'],['../classyage_1_1Window.html#a1225a2b5eff6d44a6bce3f0f5f10e2bf',1,'yage::Window::Window(const Window &)=delete'],['../classyage_1_1Window.html#a4be115daea6c7473fca81623c547d821',1,'yage::Window::Window(Window &&)=delete']]], + ['window_2ecpp',['window.cpp',['../window_8cpp.html',1,'']]], + ['window_2ehpp',['window.hpp',['../window_8hpp.html',1,'']]], + ['window_5f',['window_',['../classyage_1_1Window.html#acebbf824fbe3bb6afa32f2f33817050b',1,'yage::Window']]], + ['windowflags',['WindowFlags',['../namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38',1,'yage']]], + ['windowtest_2ecpp',['windowtest.cpp',['../windowtest_8cpp.html',1,'']]] +]; diff --git a/search/all_16.html b/search/all_16.html new file mode 100644 index 00000000..e511edbc --- /dev/null +++ b/search/all_16.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/all_16.js b/search/all_16.js new file mode 100644 index 00000000..a1a3e658 --- /dev/null +++ b/search/all_16.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['x',['x',['../structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91',1,'yage::Position::x()'],['../classyage_1_1Vector2.html#a5a777413b63e68dc5f797d31e3d7beaf',1,'yage::Vector2::x()'],['../classyage_1_1Vector2.html#a96360148b634862a31573f475b4fa53f',1,'yage::Vector2::x() const']]], + ['x_5f',['x_',['../classyage_1_1Sprite.html#a6374eb3013ac9b87fa136f317dfb8d03',1,'yage::Sprite']]], + ['xposition',['xPosition',['../classyage_1_1Body.html#a8daaf95396e8e0c580fa3d94c9542289',1,'yage::Body']]] +]; diff --git a/search/all_17.html b/search/all_17.html new file mode 100644 index 00000000..5ca9efdc --- /dev/null +++ b/search/all_17.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/all_17.js b/search/all_17.js new file mode 100644 index 00000000..b88580f5 --- /dev/null +++ b/search/all_17.js @@ -0,0 +1,12 @@ +var searchData= +[ + ['detail',['detail',['../namespaceyage_1_1detail.html',1,'yage']]], + ['matrix',['matrix',['../namespaceyage_1_1matrix.html',1,'yage']]], + ['yage',['YAGE',['../md_README.html',1,'']]], + ['y',['y',['../structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27',1,'yage::Position::y()'],['../classyage_1_1Vector2.html#a554645b415a76af47698985b7757f0c2',1,'yage::Vector2::y()'],['../classyage_1_1Vector2.html#ab5e0499a78afced459600a867736a42e',1,'yage::Vector2::y() const']]], + ['y_5f',['y_',['../classyage_1_1Sprite.html#a91e70bb6f123955cb3dd5e7932e9c3ed',1,'yage::Sprite']]], + ['yage',['yage',['../namespaceyage.html',1,'']]], + ['yage_2ehpp',['yage.hpp',['../yage_8hpp.html',1,'']]], + ['yagetest_2ecpp',['yagetest.cpp',['../yagetest_8cpp.html',1,'']]], + ['yposition',['yPosition',['../classyage_1_1Body.html#ac4e626792d726a12e0b461a6c0eff02d',1,'yage::Body']]] +]; diff --git a/search/all_18.html b/search/all_18.html new file mode 100644 index 00000000..069edeb7 --- /dev/null +++ b/search/all_18.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/all_18.js b/search/all_18.js new file mode 100644 index 00000000..15346c43 --- /dev/null +++ b/search/all_18.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['_7ecollisionbody',['~CollisionBody',['../classyage_1_1CollisionBody.html#a758b2f867f276f4c7e02ebda2cd04c8b',1,'yage::CollisionBody']]], + ['_7eglslprogram',['~GlslProgram',['../classyage_1_1GlslProgram.html#a45676c850afad2717fd4119eb8c02ef7',1,'yage::GlslProgram']]], + ['_7esprite',['~Sprite',['../classyage_1_1Sprite.html#aa2f833e040940616fa17ee8f02f8cab2',1,'yage::Sprite']]], + ['_7espritebatch',['~SpriteBatch',['../classyage_1_1SpriteBatch.html#afa26d86730be23aa5e0c8c4a9d67001a',1,'yage::SpriteBatch']]], + ['_7ewindow',['~Window',['../classyage_1_1Window.html#a9a8dd109e145c459e52abb3a8861e3a0',1,'yage::Window']]] +]; diff --git a/search/all_2.js b/search/all_2.js index 5193cc53..24502f4c 100644 --- a/search/all_2.js +++ b/search/all_2.js @@ -1,6 +1,24 @@ var searchData= [ - ['data_5f',['data_',['../classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed',1,'yage::Matrix']]], - ['dot',['dot',['../namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a',1,'yage::matrix']]], - ['documentation',['Documentation',['../md_docs_README.html',1,'']]] + ['c_5fdialect',['C_DIALECT',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a07f8e5783674099cd7f5110e22a78cdb',1,'C_DIALECT(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a07f8e5783674099cd7f5110e22a78cdb',1,'C_DIALECT(): CMakeCCompilerId.c']]], + ['camera2d',['Camera2D',['../classyage_1_1Camera2D.html',1,'yage::Camera2D'],['../classyage_1_1Camera2D.html#a7ef3b02255622486ef8f396e2cb1ec4a',1,'yage::Camera2D::Camera2D()']]], + ['camera2d_2ecpp',['camera2d.cpp',['../camera2d_8cpp.html',1,'']]], + ['camera2d_2ehpp',['camera2d.hpp',['../camera2d_8hpp.html',1,'']]], + ['camera_5fmatrix_5f',['camera_matrix_',['../classyage_1_1Camera2D.html#a76e9d3623fd930530fbe6cdccc9b7707',1,'yage::Camera2D']]], + ['clearbuffer',['clearBuffer',['../classyage_1_1Window.html#a98e2a33820ad63b2c94c56e203ff6e58',1,'yage::Window']]], + ['cmakeccompilerid_2ec',['CMakeCCompilerId.c',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html',1,'(Global Namespace)'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html',1,'(Global Namespace)']]], + ['cmakecxxcompilerid_2ecpp',['CMakeCXXCompilerId.cpp',['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html',1,'(Global Namespace)'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html',1,'(Global Namespace)']]], + ['collider',['Collider',['../classyage_1_1Collider.html',1,'yage::Collider'],['../classyage_1_1Collider.html#ae33aeb0711409e7c3ef9e21ed99fa8a3',1,'yage::Collider::Collider()']]], + ['collider_2ehpp',['collider.hpp',['../collider_8hpp.html',1,'']]], + ['collides',['collides',['../classyage_1_1Collider.html#abbab9373c0805ffa5215c08b82eaed03',1,'yage::Collider::collides()'],['../classyage_1_1RectangleCollider.html#a81e825cf009a437bc0f61b846cac66f6',1,'yage::RectangleCollider::collides()']]], + ['collisionbody',['CollisionBody',['../classyage_1_1CollisionBody.html',1,'yage::CollisionBody'],['../classyage_1_1CollisionBody.html#a5289e613269facc45cd451872c17a83d',1,'yage::CollisionBody::CollisionBody()']]], + ['collisionbody_2ehpp',['collisionbody.hpp',['../collisionbody_8hpp.html',1,'']]], + ['color',['Color',['../structyage_1_1Color.html',1,'yage::Color'],['../structyage_1_1Color.html#ab0262bbe3b2ec12a9933fe411034d09e',1,'yage::Color::Color()=default'],['../structyage_1_1Color.html#a2ce7b1060775f64c9b578b3f81fdd648',1,'yage::Color::Color(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)'],['../structyage_1_1Vertex.html#aaa2cdca3a1186c57f1c75cee34ec3144',1,'yage::Vertex::color()']]], + ['colsize',['colSize',['../classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a',1,'yage::Matrix']]], + ['compiler_5fid',['COMPILER_ID',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174',1,'COMPILER_ID(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a81dee0709ded976b2e0319239f72d174',1,'COMPILER_ID(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174',1,'COMPILER_ID(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a81dee0709ded976b2e0319239f72d174',1,'COMPILER_ID(): CMakeCXXCompilerId.cpp']]], + ['compileshader',['compileShader',['../classyage_1_1GlslProgram.html#a1acc7e052209fde74256c479af6d9988',1,'yage::GlslProgram']]], + ['compileshaders',['compileShaders',['../classyage_1_1GlslProgram.html#acf57b56739f67ac88b0d5df3bf1d4cb1',1,'yage::GlslProgram']]], + ['create',['create',['../classyage_1_1Window.html#abfb5ae5e5abf22133e59097fc8aae5fe',1,'yage::Window']]], + ['createrenderbatches',['createRenderBatches',['../classyage_1_1SpriteBatch.html#ae3e74abbf722aba0197b64d8f61d928c',1,'yage::SpriteBatch']]], + ['createvertexarray',['createVertexArray',['../classyage_1_1SpriteBatch.html#a4e21cc3bc27fbfaf1b6a15362b664027',1,'yage::SpriteBatch']]] ]; diff --git a/search/all_3.js b/search/all_3.js index 46243ac3..436302bd 100644 --- a/search/all_3.js +++ b/search/all_3.js @@ -1,4 +1,12 @@ var searchData= [ - ['end',['end',['../classyage_1_1Matrix.html#a20ea5fe16d27ef15f775b5497cadc851',1,'yage::Matrix']]] + ['data_5f',['data_',['../classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed',1,'yage::Matrix']]], + ['dec',['DEC',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad',1,'DEC(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#ad1280362da42492bbc11aa78cbf776ad',1,'DEC(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad',1,'DEC(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#ad1280362da42492bbc11aa78cbf776ad',1,'DEC(): CMakeCXXCompilerId.cpp']]], + ['decodepng',['decodePNG',['../namespaceyage.html#a60fa59da6c362523413ddcd5739a9891',1,'yage']]], + ['depth',['depth',['../classyage_1_1Glyph.html#ab1906273e09446d9f6ccdc0a06428afa',1,'yage::Glyph']]], + ['depth_5f',['depth_',['../classyage_1_1Glyph.html#ab27b92a62dcebccae673a7d8d0c15704',1,'yage::Glyph']]], + ['dot',['dot',['../namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a',1,'yage::matrix']]], + ['draw',['draw',['../classyage_1_1Sprite.html#a8eed26f4fa57b3ad47d791564233ee40',1,'yage::Sprite::draw()'],['../classyage_1_1SpriteBatch.html#ab477a5393ddd7b78afba93b96962f038',1,'yage::SpriteBatch::draw()']]], + ['documentation',['Documentation',['../md_docs_README.html',1,'']]], + ['row_3c_20rows_2c_20cols_2c_20type_20_3e',['Row< Rows, Cols, Type >',['../classyage_1_1Matrix.html#ac06ebbb8e42e63b0707ef44561abcc2e',1,'yage::Matrix']]] ]; diff --git a/search/all_4.js b/search/all_4.js index a2c9e4ea..58bfa89f 100644 --- a/search/all_4.js +++ b/search/all_4.js @@ -1,5 +1,4 @@ var searchData= [ - ['getrow',['getRow',['../classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08',1,'yage::Matrix']]], - ['glyph',['Glyph',['../classyage_1_1Glyph.html',1,'yage']]] + ['end',['end',['../classyage_1_1Matrix.html#a20ea5fe16d27ef15f775b5497cadc851',1,'yage::Matrix::end()'],['../classyage_1_1SpriteBatch.html#af8b705cdad7ceefa902f3be620ac8632',1,'yage::SpriteBatch::end()']]] ]; diff --git a/search/all_5.js b/search/all_5.js index 7c08ffa0..86bdf86f 100644 --- a/search/all_5.js +++ b/search/all_5.js @@ -1,8 +1,9 @@ var searchData= [ - ['matrix',['Matrix',['../classyage_1_1Matrix.html',1,'yage::Matrix< Rows, Cols, Type >'],['../classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad',1,'yage::Matrix::Matrix()']]], - ['matrix_2ehpp',['matrix.hpp',['../matrix_8hpp.html',1,'']]], - ['matrix_3c_20rows_2c_201_2c_20double_20_3e',['Matrix< Rows, 1, double >',['../classyage_1_1Matrix.html',1,'yage']]], - ['matrix_3c_20rows_2c_201_2c_20type_20_3e',['Matrix< Rows, 1, Type >',['../classyage_1_1Matrix.html',1,'yage']]], - ['multiply',['multiply',['../namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985',1,'yage::matrix']]] + ['feature_5ftests_2ec',['feature_tests.c',['../feature__tests_8c.html',1,'']]], + ['feature_5ftests_2ecxx',['feature_tests.cxx',['../feature__tests_8cxx.html',1,'']]], + ['features',['features',['../feature__tests_8c.html#a1582568e32f689337602a16bf8a5bff0',1,'features(): feature_tests.c'],['../feature__tests_8cxx.html#a1582568e32f689337602a16bf8a5bff0',1,'features(): feature_tests.cxx']]], + ['force_5f',['force_',['../classyage_1_1Body.html#a262c896b473d7672cde524145cd7981d',1,'yage::Body']]], + ['fragment_5fshader_5fid_5f',['fragment_shader_id_',['../classyage_1_1GlslProgram.html#ad20ee225c8e981861923a2d7eeaf940f',1,'yage::GlslProgram']]], + ['fullscreen',['FULLSCREEN',['../namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a409ae568f380139ffa38d7fffa5ffb2f',1,'yage']]] ]; diff --git a/search/all_6.js b/search/all_6.js index a2780bef..204e6da4 100644 --- a/search/all_6.js +++ b/search/all_6.js @@ -1,4 +1,17 @@ var searchData= [ - ['rowsize',['rowSize',['../classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965',1,'yage::Matrix']]] + ['g',['g',['../structyage_1_1Color.html#ada90145192a7bc439269ab49e31a461a',1,'yage::Color']]], + ['getcol',['getCol',['../classyage_1_1Matrix.html#a2833adcae1e01f637eba251c5aee7888',1,'yage::Matrix']]], + ['getrow',['getRow',['../classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08',1,'yage::Matrix']]], + ['gettexture',['getTexture',['../classyage_1_1ResourceManager.html#a36d805924374f27aa7dbce1d47795b25',1,'yage::ResourceManager::getTexture()'],['../classyage_1_1TextureCache.html#acec85e497e3dbcded344f4bed6b4389e',1,'yage::TextureCache::getTexture()']]], + ['getuniformlocation',['getUniformLocation',['../classyage_1_1GlslProgram.html#a255ccbb1d94d17f2de62319efd4be91d',1,'yage::GlslProgram']]], + ['glslprogram',['GlslProgram',['../classyage_1_1GlslProgram.html',1,'yage::GlslProgram'],['../classyage_1_1GlslProgram.html#a721b43cbdf82dbf68b3a4f3304a135c4',1,'yage::GlslProgram::GlslProgram()=default'],['../classyage_1_1GlslProgram.html#a78268f78af00bcb2358d48bb010aa9fd',1,'yage::GlslProgram::GlslProgram(const GlslProgram &)=delete'],['../classyage_1_1GlslProgram.html#af2cea717928baf5feed2ac5dc2a03290',1,'yage::GlslProgram::GlslProgram(GlslProgram &&)=delete']]], + ['glslprogram_2ecpp',['glslprogram.cpp',['../glslprogram_8cpp.html',1,'']]], + ['glslprogram_2ehpp',['glslprogram.hpp',['../glslprogram_8hpp.html',1,'']]], + ['glyph',['Glyph',['../classyage_1_1Glyph.html',1,'yage::Glyph'],['../classyage_1_1Glyph.html#a19ae31e594b33bb1ad3bc1763cdba38f',1,'yage::Glyph::Glyph()']]], + ['glyph_5fptrs_5f',['glyph_ptrs_',['../classyage_1_1SpriteBatch.html#aab5ddd1b98fc66c19eeed4d818c6b387',1,'yage::SpriteBatch']]], + ['glyphs_5f',['glyphs_',['../classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200',1,'yage::SpriteBatch']]], + ['gravity',['GRAVITY',['../classyage_1_1Body.html#a4f61913cf00244a6160e09cda846f766',1,'yage::Body']]], + ['gravity_5f',['gravity_',['../classyage_1_1Body.html#a454a7c59d07c94afb0a35c3d53ec2191',1,'yage::Body']]], + ['gravityacceleration',['gravityAcceleration',['../particlebodytest_8cpp.html#ad4bd594527645d0ee5fcb1d8d4e4d405',1,'particlebodytest.cpp']]] ]; diff --git a/search/all_7.js b/search/all_7.js index 50943f5d..16efd438 100644 --- a/search/all_7.js +++ b/search/all_7.js @@ -1,5 +1,7 @@ var searchData= [ - ['tostring',['toString',['../classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7',1,'yage::Matrix']]], - ['transpose',['transpose',['../namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7',1,'yage::matrix']]] + ['height',['height',['../structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e',1,'yage::Texture']]], + ['height_5f',['height_',['../classyage_1_1Sprite.html#abe6306d84f416b99ff3725ac6d9659d3',1,'yage::Sprite']]], + ['hex',['HEX',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5',1,'HEX(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a46d5d95daa1bef867bd0179594310ed5',1,'HEX(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5',1,'HEX(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a46d5d95daa1bef867bd0179594310ed5',1,'HEX(): CMakeCXXCompilerId.cpp']]], + ['hidden',['HIDDEN',['../namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38af7a4d995b268c416a6e01b8dc1555648',1,'yage']]] ]; diff --git a/search/all_8.js b/search/all_8.js index e583272e..10fc71ec 100644 --- a/search/all_8.js +++ b/search/all_8.js @@ -1,6 +1,21 @@ var searchData= [ - ['vector2',['Vector2',['../classyage_1_1Vector2.html',1,'yage']]], - ['vector2_3c_20double_20_3e',['Vector2< double >',['../classyage_1_1Vector2.html',1,'yage']]], - ['vector2d',['Vector2d',['../matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078',1,'yage']]] + ['id',['id',['../structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968',1,'yage::Texture']]], + ['imageloader',['ImageLoader',['../classyage_1_1ImageLoader.html',1,'yage']]], + ['imageloader_2ecpp',['imageloader.cpp',['../imageloader_8cpp.html',1,'']]], + ['imageloader_2ehpp',['imageloader.hpp',['../imageloader_8hpp.html',1,'']]], + ['index_5f',['index_',['../classyage_1_1detail_1_1Row.html#a237bb404a38dbc1a80e86f911a33c205',1,'yage::detail::Row']]], + ['info_5farch',['info_arch',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391',1,'info_arch(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a59647e99d304ed33b15cb284c27ed391',1,'info_arch(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391',1,'info_arch(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a59647e99d304ed33b15cb284c27ed391',1,'info_arch(): CMakeCXXCompilerId.cpp']]], + ['info_5fcompiler',['info_compiler',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6',1,'info_compiler(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a4b0efeb7a5d59313986b3a0390f050f6',1,'info_compiler(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6',1,'info_compiler(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a4b0efeb7a5d59313986b3a0390f050f6',1,'info_compiler(): CMakeCXXCompilerId.cpp']]], + ['info_5flanguage_5fdialect_5fdefault',['info_language_dialect_default',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a1ce162bad2fe6966ac8b33cc19e120b8',1,'info_language_dialect_default(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a1ce162bad2fe6966ac8b33cc19e120b8',1,'info_language_dialect_default(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a1ce162bad2fe6966ac8b33cc19e120b8',1,'info_language_dialect_default(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a1ce162bad2fe6966ac8b33cc19e120b8',1,'info_language_dialect_default(): CMakeCXXCompilerId.cpp']]], + ['info_5fplatform',['info_platform',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4',1,'info_platform(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a2321403dee54ee23f0c2fa849c60f7d4',1,'info_platform(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4',1,'info_platform(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a2321403dee54ee23f0c2fa849c60f7d4',1,'info_platform(): CMakeCXXCompilerId.cpp']]], + ['init',['init',['../classyage_1_1Sprite.html#a2f6294be8b2551077cf475892bcddcc1',1,'yage::Sprite::init()'],['../classyage_1_1SpriteBatch.html#a7731372a6ec1aea75d1732700fe0f4c6',1,'yage::SpriteBatch::init()'],['../namespaceyage.html#a6aea783cb978923211e165efefec4a7b',1,'yage::init()']]], + ['inputmanager',['InputManager',['../classyage_1_1InputManager.html',1,'yage']]], + ['inputmanager_2ecpp',['inputmanager.cpp',['../inputmanager_8cpp.html',1,'']]], + ['inputmanager_2ehpp',['inputmanager.hpp',['../inputmanager_8hpp.html',1,'']]], + ['inside',['inside',['../classyage_1_1Collider.html#a4a8ad9e664a0015e023a70d196302fe9',1,'yage::Collider::inside()'],['../classyage_1_1RectangleCollider.html#ac8d8e6bdb12c21be12f7d398242147c4',1,'yage::RectangleCollider::inside()']]], + ['iomanager',['IoManager',['../classyage_1_1IoManager.html',1,'yage']]], + ['iomanager_2ecpp',['iomanager.cpp',['../iomanager_8cpp.html',1,'']]], + ['iomanager_2ehpp',['iomanager.hpp',['../iomanager_8hpp.html',1,'']]], + ['iskeypressed',['isKeyPressed',['../classyage_1_1InputManager.html#afc9124e171725c291f9a1b0ed670805e',1,'yage::InputManager']]] ]; diff --git a/search/all_9.js b/search/all_9.js index a2bef0db..4281afb5 100644 --- a/search/all_9.js +++ b/search/all_9.js @@ -1,5 +1,6 @@ var searchData= [ - ['matrix',['matrix',['../namespaceyage_1_1matrix.html',1,'yage']]], - ['yage',['YAGE',['../md_README.html',1,'']]] + ['key_5fmap_5f',['key_map_',['../classyage_1_1InputManager.html#a9a484e406a3713df30ad887abd8ae28c',1,'yage::InputManager']]], + ['keypressed',['keyPressed',['../classyage_1_1InputManager.html#aa5f6416a0277a33cf9afe74e16f156a5',1,'yage::InputManager']]], + ['keyreleased',['keyReleased',['../classyage_1_1InputManager.html#aa420dbea2ae5e291b3fe9d8d3f9095d0',1,'yage::InputManager']]] ]; diff --git a/search/all_a.html b/search/all_a.html new file mode 100644 index 00000000..9601fcee --- /dev/null +++ b/search/all_a.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/all_a.js b/search/all_a.js new file mode 100644 index 00000000..681c467d --- /dev/null +++ b/search/all_a.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['linkshaders',['linkShaders',['../classyage_1_1GlslProgram.html#aed74ec6db4d2b02e1172bd5694eb1b27',1,'yage::GlslProgram']]], + ['loadpng',['loadPng',['../classyage_1_1ImageLoader.html#ad8dcdaaed43713f07723f2b6719d1b32',1,'yage::ImageLoader']]] +]; diff --git a/search/all_b.html b/search/all_b.html new file mode 100644 index 00000000..0814e4e0 --- /dev/null +++ b/search/all_b.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/all_b.js b/search/all_b.js new file mode 100644 index 00000000..ec354f3c --- /dev/null +++ b/search/all_b.js @@ -0,0 +1,17 @@ +var searchData= +[ + ['main',['main',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main(int argc, char *argv[]): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main(int argc, char *argv[]): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main(int argc, char *argv[]): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main(int argc, char *argv[]): CMakeCXXCompilerId.cpp'],['../feature__tests_8c.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): feature_tests.c'],['../feature__tests_8cxx.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): feature_tests.cxx'],['../matrixtest_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): matrixtest.cpp'],['../particlebodytest_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): particlebodytest.cpp'],['../windowtest_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): windowtest.cpp'],['../yagetest_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): yagetest.cpp']]], + ['mass_5f',['mass_',['../classyage_1_1Body.html#a01b2a500e71bc88f2cb597f376bc8289',1,'yage::Body']]], + ['math_2ehpp',['math.hpp',['../math_8hpp.html',1,'']]], + ['matrix',['Matrix',['../classyage_1_1Matrix.html',1,'yage::Matrix< Rows, Cols, Type >'],['../classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad',1,'yage::Matrix::Matrix()'],['../classyage_1_1Matrix.html#a191b02ff353d04f18779d4c84e20927b',1,'yage::Matrix::Matrix(const std::vector< Type > &data)']]], + ['matrix_2ehpp',['matrix.hpp',['../matrix_8hpp.html',1,'']]], + ['matrix_3c_20rows_2c_201_2c_20double_20_3e',['Matrix< Rows, 1, double >',['../classyage_1_1Matrix.html',1,'yage']]], + ['matrix_3c_20rows_2c_201_2c_20type_20_3e',['Matrix< Rows, 1, Type >',['../classyage_1_1Matrix.html',1,'yage']]], + ['matrix_5fneeds_5fupdate_5f',['matrix_needs_update_',['../classyage_1_1Camera2D.html#a84a0aeb53f0327e192b6e36ce24a41ea',1,'yage::Camera2D']]], + ['matrixaddition',['matrixAddition',['../matrixtest_8cpp.html#a5476c7c614ed26381a5ffca3ba9c8ed4',1,'matrixtest.cpp']]], + ['matrixassign',['matrixAssign',['../matrixtest_8cpp.html#a775b6c7dab5de10aea707de6281ad51e',1,'matrixtest.cpp']]], + ['matrixmultiplication',['matrixMultiplication',['../matrixtest_8cpp.html#a89c46f5f2d4bc6c62c5f9357ddb57f06',1,'matrixtest.cpp']]], + ['matrixtest_2ecpp',['matrixtest.cpp',['../matrixtest_8cpp.html',1,'']]], + ['move',['move',['../classyage_1_1Camera2D.html#a9c6d369978a4c142db3059f8d5a122b0',1,'yage::Camera2D']]], + ['multiply',['multiply',['../namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985',1,'yage::matrix']]] +]; diff --git a/search/all_c.html b/search/all_c.html new file mode 100644 index 00000000..da08c387 --- /dev/null +++ b/search/all_c.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/all_c.js b/search/all_c.js new file mode 100644 index 00000000..b1d9829c --- /dev/null +++ b/search/all_c.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['num_5fvertices',['NUM_VERTICES',['../classyage_1_1SpriteBatch.html#a6e01d11880a841b153e950aa8307b1a5',1,'yage::SpriteBatch::NUM_VERTICES()'],['../classyage_1_1RenderBatch.html#ad5edaded9e6257aa2f3a3b7cae276307',1,'yage::RenderBatch::num_vertices()']]], + ['num_5fvertices_5f',['num_vertices_',['../classyage_1_1RenderBatch.html#a160bf0e089d392d26fd50935263762ba',1,'yage::RenderBatch']]] +]; diff --git a/search/all_d.html b/search/all_d.html new file mode 100644 index 00000000..9986c9cb --- /dev/null +++ b/search/all_d.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/all_d.js b/search/all_d.js new file mode 100644 index 00000000..7a2a7c96 --- /dev/null +++ b/search/all_d.js @@ -0,0 +1,16 @@ +var searchData= +[ + ['offset',['offset',['../classyage_1_1RenderBatch.html#a6bedb60b10b6d47b7b198d3cb53eea2a',1,'yage::RenderBatch']]], + ['offset_5f',['offset_',['../classyage_1_1RenderBatch.html#a129b5fa960e1acc85650ce06b10905e7',1,'yage::RenderBatch']]], + ['operator_2a',['operator*',['../namespaceyage.html#ad8903f6a93ac89f16846458540717507',1,'yage::operator*(Matrix< M, N, T > lhs, const T &rhs)'],['../namespaceyage.html#a090cbd6b767b583364e9cbe78d8a8d5a',1,'yage::operator*(const T &lhs, Matrix< M, N, T > rhs)']]], + ['operator_2b',['operator+',['../namespaceyage.html#a226cc29763f745fd175844f4263d5dae',1,'yage::operator+(Matrix< M, N, T > lhs, const Matrix< M, N, T > &rhs)'],['../namespaceyage.html#a6b77afaa1cd077df90b9daccbfc2cbae',1,'yage::operator+(Matrix< M, N, T > lhs, const T &rhs)'],['../namespaceyage.html#a947133b8fc764d9fc5c5d8b08821cf32',1,'yage::operator+(const T &lhs, Matrix< M, N, T > rhs)']]], + ['operator_2b_3d',['operator+=',['../classyage_1_1Matrix.html#a8b7e0913efdb5e8c9ff39df4c4f36228',1,'yage::Matrix']]], + ['operator_2d',['operator-',['../namespaceyage.html#a2187fb11298a029f2877702192717090',1,'yage::operator-(Matrix< M, N, T > lhs, const Matrix< M, N, T > &rhs)'],['../namespaceyage.html#a8a9db24697f649f6d19f0347330d95fe',1,'yage::operator-(Matrix< M, N, T > lhs, const T &rhs)'],['../namespaceyage.html#ad9344d41af72f29cd6f8cf1ef62ed3cc',1,'yage::operator-(const T &lhs, Matrix< M, N, T > rhs)']]], + ['operator_2d_3d',['operator-=',['../classyage_1_1Matrix.html#acc2d0763f060c923ce53b37143d0a7bb',1,'yage::Matrix']]], + ['operator_2f',['operator/',['../namespaceyage.html#acca4a23afb94173695bbc1e1f2cde2b3',1,'yage']]], + ['operator_3c_3c',['operator<<',['../namespaceyage.html#a7ed614bc9d3e8b9f3f8d32b6a7ff28eb',1,'yage']]], + ['operator_3d',['operator=',['../classyage_1_1GlslProgram.html#a5af953324ac9f89aecf7e0a73a9467ad',1,'yage::GlslProgram::operator=(const GlslProgram &)=delete'],['../classyage_1_1GlslProgram.html#a0de6e3d7c8e39357c7b0f91d85b21fb2',1,'yage::GlslProgram::operator=(GlslProgram &&)=delete'],['../classyage_1_1Sprite.html#a97dd80e05efb9399ee8471ff40a77bee',1,'yage::Sprite::operator=(const Sprite &)=delete'],['../classyage_1_1Sprite.html#a3fe5615022d2b157b9e6375197254897',1,'yage::Sprite::operator=(Sprite &&)=delete'],['../classyage_1_1SpriteBatch.html#a1b365d89c096d7fa138e1c7091f1d737',1,'yage::SpriteBatch::operator=(const SpriteBatch &)=delete'],['../classyage_1_1SpriteBatch.html#a204782dd15c82376555ad0b049c4167f',1,'yage::SpriteBatch::operator=(SpriteBatch &&)=delete'],['../classyage_1_1Window.html#a5247a4164bf0006fe9f034cd27c5b6db',1,'yage::Window::operator=(const Window &)=delete'],['../classyage_1_1Window.html#a98c07656f90a6205f24dfe85ef1137de',1,'yage::Window::operator=(Window &&)=delete']]], + ['operator_3d_3d',['operator==',['../namespaceyage.html#a5ddd829cb1c7c4c880d0fd53326858fe',1,'yage']]], + ['operator_5b_5d',['operator[]',['../classyage_1_1detail_1_1Row.html#a2d29349b569f311919bb100855a4bfee',1,'yage::detail::Row::operator[](int col)'],['../classyage_1_1detail_1_1Row.html#a14db282093884cebc49229b42d869ad1',1,'yage::detail::Row::operator[](int col) const'],['../classyage_1_1Matrix.html#a9dc57c60a19b805a41b8bfb951ce2fef',1,'yage::Matrix::operator[](int row)'],['../classyage_1_1Matrix.html#ab15e9ff3285806dcb9748edb751b2315',1,'yage::Matrix::operator[](int row) const'],['../classyage_1_1Vector.html#a81efa1cb9d4ce8bb8c5cf9652a5650a2',1,'yage::Vector::operator[](int col)'],['../classyage_1_1Vector.html#a1e9c60516faeb06826666493a7ca307a',1,'yage::Vector::operator[](int col) const']]], + ['ortho_5fmatrix_5f',['ortho_matrix_',['../classyage_1_1Camera2D.html#ae557d3648deba40236fd696a17c7d7c4',1,'yage::Camera2D']]] +]; diff --git a/search/all_e.html b/search/all_e.html new file mode 100644 index 00000000..9fa42bba --- /dev/null +++ b/search/all_e.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/all_e.js b/search/all_e.js new file mode 100644 index 00000000..63157299 --- /dev/null +++ b/search/all_e.js @@ -0,0 +1,15 @@ +var searchData= +[ + ['parent_5f',['parent_',['../classyage_1_1detail_1_1Row.html#ac4cca9c5299c5e874a53166e56383055',1,'yage::detail::Row']]], + ['particlebody',['ParticleBody',['../classyage_1_1ParticleBody.html',1,'yage::ParticleBody'],['../classyage_1_1ParticleBody.html#ae20aad802b5620597d0521663061efc0',1,'yage::ParticleBody::ParticleBody()']]], + ['particlebody_2ecpp',['particlebody.cpp',['../particlebody_8cpp.html',1,'']]], + ['particlebody_2ehpp',['particlebody.hpp',['../particlebody_8hpp.html',1,'']]], + ['particlebodytest_2ecpp',['particlebodytest.cpp',['../particlebodytest_8cpp.html',1,'']]], + ['physics_2ehpp',['physics.hpp',['../physics_8hpp.html',1,'']]], + ['picopng_2ecpp',['picopng.cpp',['../picopng_8cpp.html',1,'']]], + ['picopng_2ehpp',['picopng.hpp',['../picopng_8hpp.html',1,'']]], + ['platform_5fid',['PLATFORM_ID',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b',1,'PLATFORM_ID(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#adbc5372f40838899018fadbc89bd588b',1,'PLATFORM_ID(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b',1,'PLATFORM_ID(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#adbc5372f40838899018fadbc89bd588b',1,'PLATFORM_ID(): CMakeCXXCompilerId.cpp']]], + ['position',['Position',['../structyage_1_1Position.html',1,'yage::Position'],['../structyage_1_1Position.html#a41b1d5ee23c50208982ab6089708e5d2',1,'yage::Position::Position()=default'],['../structyage_1_1Position.html#aaeaa1cd93e57adcb08ef4f76513148e2',1,'yage::Position::Position(float x_, float y_)'],['../structyage_1_1Vertex.html#abefe88d26b055655f9cc038a1dd4ff6a',1,'yage::Vertex::position()']]], + ['position_5f',['position_',['../classyage_1_1Camera2D.html#af3eec769d8b57ec0f6d370f5f75a6eda',1,'yage::Camera2D::position_()'],['../classyage_1_1Body.html#a8fe4f244be47f1336a57c1f2aa095157',1,'yage::Body::position_()'],['../classyage_1_1Collider.html#a2ae348a82a0ca7a871c05f36e5031161',1,'yage::Collider::position_()']]], + ['program_5fid_5f',['program_id_',['../classyage_1_1GlslProgram.html#ad8f02beee9fdc3608d7aceebf3398e8b',1,'yage::GlslProgram']]] +]; diff --git a/search/all_f.html b/search/all_f.html new file mode 100644 index 00000000..6ecfc0ed --- /dev/null +++ b/search/all_f.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/all_f.js b/search/all_f.js new file mode 100644 index 00000000..62c0b241 --- /dev/null +++ b/search/all_f.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['quit',['quit',['../namespaceyage.html#ac9d8c7327204686b3c86f4ab48672618',1,'yage']]] +]; diff --git a/search/classes_0.js b/search/classes_0.js index b5fe9ac1..967cc615 100644 --- a/search/classes_0.js +++ b/search/classes_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['glyph',['Glyph',['../classyage_1_1Glyph.html',1,'yage']]] + ['body',['Body',['../classyage_1_1Body.html',1,'yage']]] ]; diff --git a/search/classes_1.js b/search/classes_1.js index b3ac49ff..efbf7c6b 100644 --- a/search/classes_1.js +++ b/search/classes_1.js @@ -1,6 +1,7 @@ var searchData= [ - ['matrix',['Matrix',['../classyage_1_1Matrix.html',1,'yage']]], - ['matrix_3c_20rows_2c_201_2c_20double_20_3e',['Matrix< Rows, 1, double >',['../classyage_1_1Matrix.html',1,'yage']]], - ['matrix_3c_20rows_2c_201_2c_20type_20_3e',['Matrix< Rows, 1, Type >',['../classyage_1_1Matrix.html',1,'yage']]] + ['camera2d',['Camera2D',['../classyage_1_1Camera2D.html',1,'yage']]], + ['collider',['Collider',['../classyage_1_1Collider.html',1,'yage']]], + ['collisionbody',['CollisionBody',['../classyage_1_1CollisionBody.html',1,'yage']]], + ['color',['Color',['../structyage_1_1Color.html',1,'yage']]] ]; diff --git a/search/classes_2.js b/search/classes_2.js index 7dd4e2bf..2376c33c 100644 --- a/search/classes_2.js +++ b/search/classes_2.js @@ -1,5 +1,5 @@ var searchData= [ - ['vector2',['Vector2',['../classyage_1_1Vector2.html',1,'yage']]], - ['vector2_3c_20double_20_3e',['Vector2< double >',['../classyage_1_1Vector2.html',1,'yage']]] + ['glslprogram',['GlslProgram',['../classyage_1_1GlslProgram.html',1,'yage']]], + ['glyph',['Glyph',['../classyage_1_1Glyph.html',1,'yage']]] ]; diff --git a/search/classes_3.html b/search/classes_3.html new file mode 100644 index 00000000..5faaeba8 --- /dev/null +++ b/search/classes_3.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/classes_3.js b/search/classes_3.js new file mode 100644 index 00000000..04ae98e8 --- /dev/null +++ b/search/classes_3.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['imageloader',['ImageLoader',['../classyage_1_1ImageLoader.html',1,'yage']]], + ['inputmanager',['InputManager',['../classyage_1_1InputManager.html',1,'yage']]], + ['iomanager',['IoManager',['../classyage_1_1IoManager.html',1,'yage']]] +]; diff --git a/search/classes_4.html b/search/classes_4.html new file mode 100644 index 00000000..b3f11bc7 --- /dev/null +++ b/search/classes_4.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/classes_4.js b/search/classes_4.js new file mode 100644 index 00000000..b3ac49ff --- /dev/null +++ b/search/classes_4.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['matrix',['Matrix',['../classyage_1_1Matrix.html',1,'yage']]], + ['matrix_3c_20rows_2c_201_2c_20double_20_3e',['Matrix< Rows, 1, double >',['../classyage_1_1Matrix.html',1,'yage']]], + ['matrix_3c_20rows_2c_201_2c_20type_20_3e',['Matrix< Rows, 1, Type >',['../classyage_1_1Matrix.html',1,'yage']]] +]; diff --git a/search/classes_5.html b/search/classes_5.html new file mode 100644 index 00000000..952ace6f --- /dev/null +++ b/search/classes_5.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/classes_5.js b/search/classes_5.js new file mode 100644 index 00000000..d616947f --- /dev/null +++ b/search/classes_5.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['particlebody',['ParticleBody',['../classyage_1_1ParticleBody.html',1,'yage']]], + ['position',['Position',['../structyage_1_1Position.html',1,'yage']]] +]; diff --git a/search/classes_6.html b/search/classes_6.html new file mode 100644 index 00000000..75eef9f4 --- /dev/null +++ b/search/classes_6.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/classes_6.js b/search/classes_6.js new file mode 100644 index 00000000..1f9a4487 --- /dev/null +++ b/search/classes_6.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['rectanglecollider',['RectangleCollider',['../classyage_1_1RectangleCollider.html',1,'yage']]], + ['renderbatch',['RenderBatch',['../classyage_1_1RenderBatch.html',1,'yage']]], + ['resourcemanager',['ResourceManager',['../classyage_1_1ResourceManager.html',1,'yage']]], + ['rigidbody',['RigidBody',['../classyage_1_1RigidBody.html',1,'yage']]], + ['row',['Row',['../classyage_1_1detail_1_1Row.html',1,'yage::detail']]] +]; diff --git a/search/classes_7.html b/search/classes_7.html new file mode 100644 index 00000000..745f5f28 --- /dev/null +++ b/search/classes_7.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/classes_7.js b/search/classes_7.js new file mode 100644 index 00000000..8d412bde --- /dev/null +++ b/search/classes_7.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['sprite',['Sprite',['../classyage_1_1Sprite.html',1,'yage']]], + ['spritebatch',['SpriteBatch',['../classyage_1_1SpriteBatch.html',1,'yage']]] +]; diff --git a/search/classes_8.html b/search/classes_8.html new file mode 100644 index 00000000..5a443d9d --- /dev/null +++ b/search/classes_8.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/classes_8.js b/search/classes_8.js new file mode 100644 index 00000000..bb215bc2 --- /dev/null +++ b/search/classes_8.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['texture',['Texture',['../structyage_1_1Texture.html',1,'yage']]], + ['texturecache',['TextureCache',['../classyage_1_1TextureCache.html',1,'yage']]] +]; diff --git a/search/classes_9.html b/search/classes_9.html new file mode 100644 index 00000000..9cb55be4 --- /dev/null +++ b/search/classes_9.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/classes_9.js b/search/classes_9.js new file mode 100644 index 00000000..92c686bb --- /dev/null +++ b/search/classes_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['uv',['UV',['../structyage_1_1UV.html',1,'yage']]] +]; diff --git a/search/classes_a.html b/search/classes_a.html new file mode 100644 index 00000000..54940d78 --- /dev/null +++ b/search/classes_a.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/classes_a.js b/search/classes_a.js new file mode 100644 index 00000000..afb8654e --- /dev/null +++ b/search/classes_a.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['vector',['Vector',['../classyage_1_1Vector.html',1,'yage']]], + ['vector2',['Vector2',['../classyage_1_1Vector2.html',1,'yage']]], + ['vector2_3c_20double_20_3e',['Vector2< double >',['../classyage_1_1Vector2.html',1,'yage']]], + ['vector_3c_202_2c_20double_20_3e',['Vector< 2, double >',['../classyage_1_1Vector.html',1,'yage']]], + ['vector_3c_202_2c_20type_20_3e',['Vector< 2, Type >',['../classyage_1_1Vector.html',1,'yage']]], + ['vertex',['Vertex',['../structyage_1_1Vertex.html',1,'yage']]] +]; diff --git a/search/classes_b.html b/search/classes_b.html new file mode 100644 index 00000000..6071ae04 --- /dev/null +++ b/search/classes_b.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/classes_b.js b/search/classes_b.js new file mode 100644 index 00000000..50e8b3e6 --- /dev/null +++ b/search/classes_b.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window',['Window',['../classyage_1_1Window.html',1,'yage']]] +]; diff --git a/search/defines_0.html b/search/defines_0.html new file mode 100644 index 00000000..5b252045 --- /dev/null +++ b/search/defines_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/defines_0.js b/search/defines_0.js new file mode 100644 index 00000000..4871b9cf --- /dev/null +++ b/search/defines_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['architecture_5fid',['ARCHITECTURE_ID',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28',1,'ARCHITECTURE_ID(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#aba35d0d200deaeb06aee95ca297acb28',1,'ARCHITECTURE_ID(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28',1,'ARCHITECTURE_ID(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#aba35d0d200deaeb06aee95ca297acb28',1,'ARCHITECTURE_ID(): CMakeCXXCompilerId.cpp']]] +]; diff --git a/search/defines_1.html b/search/defines_1.html new file mode 100644 index 00000000..91488cb5 --- /dev/null +++ b/search/defines_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/defines_1.js b/search/defines_1.js new file mode 100644 index 00000000..c1884460 --- /dev/null +++ b/search/defines_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['c_5fdialect',['C_DIALECT',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a07f8e5783674099cd7f5110e22a78cdb',1,'C_DIALECT(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a07f8e5783674099cd7f5110e22a78cdb',1,'C_DIALECT(): CMakeCCompilerId.c']]], + ['compiler_5fid',['COMPILER_ID',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174',1,'COMPILER_ID(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a81dee0709ded976b2e0319239f72d174',1,'COMPILER_ID(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174',1,'COMPILER_ID(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a81dee0709ded976b2e0319239f72d174',1,'COMPILER_ID(): CMakeCXXCompilerId.cpp']]] +]; diff --git a/search/defines_2.html b/search/defines_2.html new file mode 100644 index 00000000..86559939 --- /dev/null +++ b/search/defines_2.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/defines_2.js b/search/defines_2.js new file mode 100644 index 00000000..d74b9131 --- /dev/null +++ b/search/defines_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['dec',['DEC',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad',1,'DEC(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#ad1280362da42492bbc11aa78cbf776ad',1,'DEC(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad',1,'DEC(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#ad1280362da42492bbc11aa78cbf776ad',1,'DEC(): CMakeCXXCompilerId.cpp']]] +]; diff --git a/search/defines_3.html b/search/defines_3.html new file mode 100644 index 00000000..a55d3ffb --- /dev/null +++ b/search/defines_3.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/defines_3.js b/search/defines_3.js new file mode 100644 index 00000000..00404e7c --- /dev/null +++ b/search/defines_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['hex',['HEX',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5',1,'HEX(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a46d5d95daa1bef867bd0179594310ed5',1,'HEX(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5',1,'HEX(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a46d5d95daa1bef867bd0179594310ed5',1,'HEX(): CMakeCXXCompilerId.cpp']]] +]; diff --git a/search/defines_4.html b/search/defines_4.html new file mode 100644 index 00000000..54da39ac --- /dev/null +++ b/search/defines_4.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/defines_4.js b/search/defines_4.js new file mode 100644 index 00000000..863cdc4a --- /dev/null +++ b/search/defines_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['platform_5fid',['PLATFORM_ID',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b',1,'PLATFORM_ID(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#adbc5372f40838899018fadbc89bd588b',1,'PLATFORM_ID(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b',1,'PLATFORM_ID(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#adbc5372f40838899018fadbc89bd588b',1,'PLATFORM_ID(): CMakeCXXCompilerId.cpp']]] +]; diff --git a/search/defines_5.html b/search/defines_5.html new file mode 100644 index 00000000..dd7bfdc6 --- /dev/null +++ b/search/defines_5.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/defines_5.js b/search/defines_5.js new file mode 100644 index 00000000..795c3072 --- /dev/null +++ b/search/defines_5.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['stringify',['STRINGIFY',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8',1,'STRINGIFY(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a43e1cad902b6477bec893cb6430bd6c8',1,'STRINGIFY(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8',1,'STRINGIFY(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a43e1cad902b6477bec893cb6430bd6c8',1,'STRINGIFY(): CMakeCXXCompilerId.cpp']]], + ['stringify_5fhelper',['STRINGIFY_HELPER',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d',1,'STRINGIFY_HELPER(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d',1,'STRINGIFY_HELPER(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d',1,'STRINGIFY_HELPER(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d',1,'STRINGIFY_HELPER(): CMakeCXXCompilerId.cpp']]] +]; diff --git a/search/enums_0.html b/search/enums_0.html new file mode 100644 index 00000000..ee343ac0 --- /dev/null +++ b/search/enums_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/enums_0.js b/search/enums_0.js new file mode 100644 index 00000000..59289f8c --- /dev/null +++ b/search/enums_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['windowflags',['WindowFlags',['../namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38',1,'yage']]] +]; diff --git a/search/enumvalues_0.html b/search/enumvalues_0.html new file mode 100644 index 00000000..9387b6a3 --- /dev/null +++ b/search/enumvalues_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/enumvalues_0.js b/search/enumvalues_0.js new file mode 100644 index 00000000..5480b38e --- /dev/null +++ b/search/enumvalues_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['borderless',['BORDERLESS',['../namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38afa8ece0eef17c604369ca69bc4b09970',1,'yage']]] +]; diff --git a/search/enumvalues_1.html b/search/enumvalues_1.html new file mode 100644 index 00000000..f622aba9 --- /dev/null +++ b/search/enumvalues_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/enumvalues_1.js b/search/enumvalues_1.js new file mode 100644 index 00000000..89d80e7d --- /dev/null +++ b/search/enumvalues_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['fullscreen',['FULLSCREEN',['../namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a409ae568f380139ffa38d7fffa5ffb2f',1,'yage']]] +]; diff --git a/search/enumvalues_2.html b/search/enumvalues_2.html new file mode 100644 index 00000000..d4990784 --- /dev/null +++ b/search/enumvalues_2.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/enumvalues_2.js b/search/enumvalues_2.js new file mode 100644 index 00000000..3867de35 --- /dev/null +++ b/search/enumvalues_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['hidden',['HIDDEN',['../namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38af7a4d995b268c416a6e01b8dc1555648',1,'yage']]] +]; diff --git a/search/enumvalues_3.html b/search/enumvalues_3.html new file mode 100644 index 00000000..b4fc3ee8 --- /dev/null +++ b/search/enumvalues_3.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/enumvalues_3.js b/search/enumvalues_3.js new file mode 100644 index 00000000..c4d89e83 --- /dev/null +++ b/search/enumvalues_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['shown',['SHOWN',['../namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a7c4273d3feb1dc60a55a74c37c3fddd6',1,'yage']]] +]; diff --git a/search/files_0.js b/search/files_0.js index 7ca716f6..804486e9 100644 --- a/search/files_0.js +++ b/search/files_0.js @@ -1,4 +1,5 @@ var searchData= [ - ['matrix_2ehpp',['matrix.hpp',['../matrix_8hpp.html',1,'']]] + ['body_2ecpp',['body.cpp',['../body_8cpp.html',1,'']]], + ['body_2ehpp',['body.hpp',['../body_8hpp.html',1,'']]] ]; diff --git a/search/files_1.html b/search/files_1.html new file mode 100644 index 00000000..dcce4223 --- /dev/null +++ b/search/files_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/files_1.js b/search/files_1.js new file mode 100644 index 00000000..6c541243 --- /dev/null +++ b/search/files_1.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['camera2d_2ecpp',['camera2d.cpp',['../camera2d_8cpp.html',1,'']]], + ['camera2d_2ehpp',['camera2d.hpp',['../camera2d_8hpp.html',1,'']]], + ['cmakeccompilerid_2ec',['CMakeCCompilerId.c',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html',1,'(Global Namespace)'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html',1,'(Global Namespace)']]], + ['cmakecxxcompilerid_2ecpp',['CMakeCXXCompilerId.cpp',['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html',1,'(Global Namespace)'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html',1,'(Global Namespace)']]], + ['collider_2ehpp',['collider.hpp',['../collider_8hpp.html',1,'']]], + ['collisionbody_2ehpp',['collisionbody.hpp',['../collisionbody_8hpp.html',1,'']]] +]; diff --git a/search/files_2.html b/search/files_2.html new file mode 100644 index 00000000..d5c6c3be --- /dev/null +++ b/search/files_2.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/files_2.js b/search/files_2.js new file mode 100644 index 00000000..048fcec6 --- /dev/null +++ b/search/files_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['feature_5ftests_2ec',['feature_tests.c',['../feature__tests_8c.html',1,'']]], + ['feature_5ftests_2ecxx',['feature_tests.cxx',['../feature__tests_8cxx.html',1,'']]] +]; diff --git a/search/files_3.html b/search/files_3.html new file mode 100644 index 00000000..d5a95284 --- /dev/null +++ b/search/files_3.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/files_3.js b/search/files_3.js new file mode 100644 index 00000000..995b4690 --- /dev/null +++ b/search/files_3.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['glslprogram_2ecpp',['glslprogram.cpp',['../glslprogram_8cpp.html',1,'']]], + ['glslprogram_2ehpp',['glslprogram.hpp',['../glslprogram_8hpp.html',1,'']]] +]; diff --git a/search/files_4.html b/search/files_4.html new file mode 100644 index 00000000..7b4c42a0 --- /dev/null +++ b/search/files_4.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/files_4.js b/search/files_4.js new file mode 100644 index 00000000..55844946 --- /dev/null +++ b/search/files_4.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['imageloader_2ecpp',['imageloader.cpp',['../imageloader_8cpp.html',1,'']]], + ['imageloader_2ehpp',['imageloader.hpp',['../imageloader_8hpp.html',1,'']]], + ['inputmanager_2ecpp',['inputmanager.cpp',['../inputmanager_8cpp.html',1,'']]], + ['inputmanager_2ehpp',['inputmanager.hpp',['../inputmanager_8hpp.html',1,'']]], + ['iomanager_2ecpp',['iomanager.cpp',['../iomanager_8cpp.html',1,'']]], + ['iomanager_2ehpp',['iomanager.hpp',['../iomanager_8hpp.html',1,'']]] +]; diff --git a/search/files_5.html b/search/files_5.html new file mode 100644 index 00000000..1f77bb12 --- /dev/null +++ b/search/files_5.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/files_5.js b/search/files_5.js new file mode 100644 index 00000000..70a1c202 --- /dev/null +++ b/search/files_5.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['math_2ehpp',['math.hpp',['../math_8hpp.html',1,'']]], + ['matrix_2ehpp',['matrix.hpp',['../matrix_8hpp.html',1,'']]], + ['matrixtest_2ecpp',['matrixtest.cpp',['../matrixtest_8cpp.html',1,'']]] +]; diff --git a/search/files_6.html b/search/files_6.html new file mode 100644 index 00000000..7573254f --- /dev/null +++ b/search/files_6.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/files_6.js b/search/files_6.js new file mode 100644 index 00000000..4f3376bc --- /dev/null +++ b/search/files_6.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['particlebody_2ecpp',['particlebody.cpp',['../particlebody_8cpp.html',1,'']]], + ['particlebody_2ehpp',['particlebody.hpp',['../particlebody_8hpp.html',1,'']]], + ['particlebodytest_2ecpp',['particlebodytest.cpp',['../particlebodytest_8cpp.html',1,'']]], + ['physics_2ehpp',['physics.hpp',['../physics_8hpp.html',1,'']]], + ['picopng_2ecpp',['picopng.cpp',['../picopng_8cpp.html',1,'']]], + ['picopng_2ehpp',['picopng.hpp',['../picopng_8hpp.html',1,'']]] +]; diff --git a/search/files_7.html b/search/files_7.html new file mode 100644 index 00000000..214b329d --- /dev/null +++ b/search/files_7.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/files_7.js b/search/files_7.js new file mode 100644 index 00000000..9edc9db9 --- /dev/null +++ b/search/files_7.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['readme_2emd',['README.md',['../docs_2README_8md.html',1,'(Global Namespace)'],['../README_8md.html',1,'(Global Namespace)']]], + ['rectanglecollider_2ecpp',['rectanglecollider.cpp',['../rectanglecollider_8cpp.html',1,'']]], + ['rectanglecollider_2ehpp',['rectanglecollider.hpp',['../rectanglecollider_8hpp.html',1,'']]], + ['resourcemanager_2ecpp',['resourcemanager.cpp',['../resourcemanager_8cpp.html',1,'']]], + ['resourcemanager_2ehpp',['resourcemanager.hpp',['../resourcemanager_8hpp.html',1,'']]], + ['rigidbody_2ecpp',['rigidbody.cpp',['../rigidbody_8cpp.html',1,'']]], + ['rigidbody_2ehpp',['rigidbody.hpp',['../rigidbody_8hpp.html',1,'']]] +]; diff --git a/search/files_8.html b/search/files_8.html new file mode 100644 index 00000000..6720c7c3 --- /dev/null +++ b/search/files_8.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/files_8.js b/search/files_8.js new file mode 100644 index 00000000..98fa126c --- /dev/null +++ b/search/files_8.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['sprite_2ecpp',['sprite.cpp',['../sprite_8cpp.html',1,'']]], + ['sprite_2ehpp',['sprite.hpp',['../sprite_8hpp.html',1,'']]], + ['spritebatch_2ecpp',['spritebatch.cpp',['../spritebatch_8cpp.html',1,'']]], + ['spritebatch_2ehpp',['spritebatch.hpp',['../spritebatch_8hpp.html',1,'']]] +]; diff --git a/search/files_9.html b/search/files_9.html new file mode 100644 index 00000000..fc958779 --- /dev/null +++ b/search/files_9.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/files_9.js b/search/files_9.js new file mode 100644 index 00000000..1e1293b0 --- /dev/null +++ b/search/files_9.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['texture_2ehpp',['texture.hpp',['../texture_8hpp.html',1,'']]], + ['texturecache_2ecpp',['texturecache.cpp',['../texturecache_8cpp.html',1,'']]], + ['texturecache_2ehpp',['texturecache.hpp',['../texturecache_8hpp.html',1,'']]] +]; diff --git a/search/files_a.html b/search/files_a.html new file mode 100644 index 00000000..ffe3e9d6 --- /dev/null +++ b/search/files_a.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/files_a.js b/search/files_a.js new file mode 100644 index 00000000..eef15867 --- /dev/null +++ b/search/files_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['vertex_2ehpp',['vertex.hpp',['../vertex_8hpp.html',1,'']]] +]; diff --git a/search/files_b.html b/search/files_b.html new file mode 100644 index 00000000..32cd2be9 --- /dev/null +++ b/search/files_b.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/files_b.js b/search/files_b.js new file mode 100644 index 00000000..a0e46270 --- /dev/null +++ b/search/files_b.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['window_2ecpp',['window.cpp',['../window_8cpp.html',1,'']]], + ['window_2ehpp',['window.hpp',['../window_8hpp.html',1,'']]], + ['windowtest_2ecpp',['windowtest.cpp',['../windowtest_8cpp.html',1,'']]] +]; diff --git a/search/files_c.html b/search/files_c.html new file mode 100644 index 00000000..bb836086 --- /dev/null +++ b/search/files_c.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/files_c.js b/search/files_c.js new file mode 100644 index 00000000..b35cb026 --- /dev/null +++ b/search/files_c.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['yage_2ehpp',['yage.hpp',['../yage_8hpp.html',1,'']]], + ['yagetest_2ecpp',['yagetest.cpp',['../yagetest_8cpp.html',1,'']]] +]; diff --git a/search/functions_0.js b/search/functions_0.js index 48682bc0..2a7517bb 100644 --- a/search/functions_0.js +++ b/search/functions_0.js @@ -1,4 +1,5 @@ var searchData= [ - ['begin',['begin',['../classyage_1_1Matrix.html#a83d77d3a40ced5e2b703a6d66b6e6055',1,'yage::Matrix']]] + ['addattribute',['addAttribute',['../classyage_1_1GlslProgram.html#a4e38b9f5daaf4b111b69e4d2900d4970',1,'yage::GlslProgram']]], + ['applyforce',['applyForce',['../classyage_1_1Body.html#a56310be4f9d7d2d4e7f954af0e0a5878',1,'yage::Body::applyForce()'],['../classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425',1,'yage::ParticleBody::applyForce()']]] ]; diff --git a/search/functions_1.js b/search/functions_1.js index 230a28fd..352561f4 100644 --- a/search/functions_1.js +++ b/search/functions_1.js @@ -1,4 +1,7 @@ var searchData= [ - ['colsize',['colSize',['../classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a',1,'yage::Matrix']]] + ['begin',['begin',['../classyage_1_1Matrix.html#a83d77d3a40ced5e2b703a6d66b6e6055',1,'yage::Matrix::begin()'],['../classyage_1_1SpriteBatch.html#af6293aac69e1124199297e5b921a4872',1,'yage::SpriteBatch::begin()']]], + ['body',['Body',['../classyage_1_1Body.html#aeca769807d9b6f6fb3c9f61deaa83b86',1,'yage::Body']]], + ['bottom_5fleft',['bottom_left',['../classyage_1_1Glyph.html#a8d8150986db3f0985f1b5d9622f83854',1,'yage::Glyph']]], + ['bottom_5fright',['bottom_right',['../classyage_1_1Glyph.html#a3db3e9cd03629c6c37a597d5779d1024',1,'yage::Glyph']]] ]; diff --git a/search/functions_10.html b/search/functions_10.html new file mode 100644 index 00000000..72bc1ea1 --- /dev/null +++ b/search/functions_10.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/functions_10.js b/search/functions_10.js new file mode 100644 index 00000000..c6ae1ec1 --- /dev/null +++ b/search/functions_10.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['test',['TEST',['../matrixtest_8cpp.html#a1994b66beb3b4846bb593a0f9d86edf6',1,'TEST(Matrix, Assign): matrixtest.cpp'],['../matrixtest_8cpp.html#a1d5929fedb7ac7808b0eac220aa27693',1,'TEST(Matrix, Addition): matrixtest.cpp'],['../matrixtest_8cpp.html#a4ba25f18d624c0816cd94f6a32a2c973',1,'TEST(Vector, DotProduct): matrixtest.cpp'],['../particlebodytest_8cpp.html#a9de6f26822ada90ec4e52f005c45f198',1,'TEST(ParticleBody, Gravity): particlebodytest.cpp'],['../windowtest_8cpp.html#a863a0cf6145219a8c3cb62e9e7c53d48',1,'TEST(Window, Open): windowtest.cpp'],['../yagetest_8cpp.html#a4cfeec349f381f0c21ef755a97250676',1,'TEST(YAGE, InitQuit): yagetest.cpp']]], + ['texture',['texture',['../classyage_1_1Glyph.html#af59de1a9642b07583d49197bc9d74747',1,'yage::Glyph::texture()'],['../classyage_1_1RenderBatch.html#a54102dde86a787d06d47928de8f72c3f',1,'yage::RenderBatch::texture()']]], + ['texturecache',['TextureCache',['../classyage_1_1TextureCache.html#a5e96e92a02ded2af93e91df54f08300d',1,'yage::TextureCache']]], + ['top_5fleft',['top_left',['../classyage_1_1Glyph.html#a6a86e79419ccea7f6921685c197453a1',1,'yage::Glyph']]], + ['top_5fright',['top_right',['../classyage_1_1Glyph.html#aac14f7258926c0c06ec594bc616ed5d0',1,'yage::Glyph']]], + ['tostring',['toString',['../classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7',1,'yage::Matrix::toString()'],['../classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985',1,'yage::Vector::toString()']]], + ['transpose',['transpose',['../namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7',1,'yage::matrix']]] +]; diff --git a/search/functions_11.html b/search/functions_11.html new file mode 100644 index 00000000..6948a615 --- /dev/null +++ b/search/functions_11.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/functions_11.js b/search/functions_11.js new file mode 100644 index 00000000..7b2d1368 --- /dev/null +++ b/search/functions_11.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['unuse',['unuse',['../classyage_1_1GlslProgram.html#a2afa98cbf5d25b634e01b863c33fcf8f',1,'yage::GlslProgram']]], + ['update',['update',['../classyage_1_1Camera2D.html#addc194a43322262e7d102f212e5f5cf7',1,'yage::Camera2D::update()'],['../classyage_1_1Body.html#a17017d183f3f9ecdff779fd6f82c5d36',1,'yage::Body::update()'],['../classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d',1,'yage::ParticleBody::update()']]], + ['use',['use',['../classyage_1_1GlslProgram.html#a762b44540ef219ff39f784543fc162c3',1,'yage::GlslProgram']]], + ['uv',['UV',['../structyage_1_1UV.html#ae236139f3a5f6024aac1e21bd93b7bde',1,'yage::UV::UV()=default'],['../structyage_1_1UV.html#ac918524789292937aae5803df3c2673f',1,'yage::UV::UV(float u_, float v_)']]] +]; diff --git a/search/functions_12.html b/search/functions_12.html new file mode 100644 index 00000000..3df84892 --- /dev/null +++ b/search/functions_12.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/functions_12.js b/search/functions_12.js new file mode 100644 index 00000000..cda7c8e6 --- /dev/null +++ b/search/functions_12.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['vector',['Vector',['../classyage_1_1Vector.html#ac9b202913c03bde201e350e855fbbffa',1,'yage::Vector::Vector()'],['../classyage_1_1Vector.html#a55fd6c60a95832ad4b68083071f9866f',1,'yage::Vector::Vector(const Matrix< Rows, 1, Type > &other)'],['../classyage_1_1Vector.html#aa291a8ee264f81165b529b7f3a0c265d',1,'yage::Vector::Vector(const std::vector< Type > &data)']]], + ['vector2',['Vector2',['../classyage_1_1Vector2.html#a50c108903be424de1c41ce31fddd23ea',1,'yage::Vector2::Vector2()'],['../classyage_1_1Vector2.html#af69d534302a406bac419589e0a2f2917',1,'yage::Vector2::Vector2(const std::vector< Type > &data)'],['../classyage_1_1Vector2.html#a3ef3bc2954f387f1db2165a884765ad0',1,'yage::Vector2::Vector2(Type x, Type y)'],['../classyage_1_1Vector2.html#aacee766d18741a925a47b91fa0080822',1,'yage::Vector2::Vector2(const Matrix< 2, 1, Type > &other)']]], + ['vectordotproduct',['vectorDotProduct',['../matrixtest_8cpp.html#a1b776f4c64a26c055b88f98a6c6bd02d',1,'matrixtest.cpp']]], + ['vertex',['Vertex',['../structyage_1_1Vertex.html#acae9697c2762e37dfa4472b85fa112c3',1,'yage::Vertex::Vertex()=default'],['../structyage_1_1Vertex.html#ab2826fb0ec9c48aad0056250dfa9cc2e',1,'yage::Vertex::Vertex(const Position &position_, const Color &color_, const UV &uv_)']]] +]; diff --git a/search/functions_13.html b/search/functions_13.html new file mode 100644 index 00000000..febf8e03 --- /dev/null +++ b/search/functions_13.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/functions_13.js b/search/functions_13.js new file mode 100644 index 00000000..cbd3e7bd --- /dev/null +++ b/search/functions_13.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['window',['Window',['../classyage_1_1Window.html#a7d7bd2f22e095df387e8b5cda2bb484e',1,'yage::Window::Window()'],['../classyage_1_1Window.html#a1225a2b5eff6d44a6bce3f0f5f10e2bf',1,'yage::Window::Window(const Window &)=delete'],['../classyage_1_1Window.html#a4be115daea6c7473fca81623c547d821',1,'yage::Window::Window(Window &&)=delete']]] +]; diff --git a/search/functions_14.html b/search/functions_14.html new file mode 100644 index 00000000..4c814f5a --- /dev/null +++ b/search/functions_14.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/functions_14.js b/search/functions_14.js new file mode 100644 index 00000000..4b5d9e18 --- /dev/null +++ b/search/functions_14.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['x',['x',['../classyage_1_1Vector2.html#a5a777413b63e68dc5f797d31e3d7beaf',1,'yage::Vector2::x()'],['../classyage_1_1Vector2.html#a96360148b634862a31573f475b4fa53f',1,'yage::Vector2::x() const']]], + ['xposition',['xPosition',['../classyage_1_1Body.html#a8daaf95396e8e0c580fa3d94c9542289',1,'yage::Body']]] +]; diff --git a/search/functions_15.html b/search/functions_15.html new file mode 100644 index 00000000..0f002b8a --- /dev/null +++ b/search/functions_15.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/functions_15.js b/search/functions_15.js new file mode 100644 index 00000000..d0eabddf --- /dev/null +++ b/search/functions_15.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['y',['y',['../classyage_1_1Vector2.html#a554645b415a76af47698985b7757f0c2',1,'yage::Vector2::y()'],['../classyage_1_1Vector2.html#ab5e0499a78afced459600a867736a42e',1,'yage::Vector2::y() const']]], + ['yposition',['yPosition',['../classyage_1_1Body.html#ac4e626792d726a12e0b461a6c0eff02d',1,'yage::Body']]] +]; diff --git a/search/functions_16.html b/search/functions_16.html new file mode 100644 index 00000000..28a50251 --- /dev/null +++ b/search/functions_16.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/functions_16.js b/search/functions_16.js new file mode 100644 index 00000000..15346c43 --- /dev/null +++ b/search/functions_16.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['_7ecollisionbody',['~CollisionBody',['../classyage_1_1CollisionBody.html#a758b2f867f276f4c7e02ebda2cd04c8b',1,'yage::CollisionBody']]], + ['_7eglslprogram',['~GlslProgram',['../classyage_1_1GlslProgram.html#a45676c850afad2717fd4119eb8c02ef7',1,'yage::GlslProgram']]], + ['_7esprite',['~Sprite',['../classyage_1_1Sprite.html#aa2f833e040940616fa17ee8f02f8cab2',1,'yage::Sprite']]], + ['_7espritebatch',['~SpriteBatch',['../classyage_1_1SpriteBatch.html#afa26d86730be23aa5e0c8c4a9d67001a',1,'yage::SpriteBatch']]], + ['_7ewindow',['~Window',['../classyage_1_1Window.html#a9a8dd109e145c459e52abb3a8861e3a0',1,'yage::Window']]] +]; diff --git a/search/functions_2.js b/search/functions_2.js index 298c1dd0..ceeab267 100644 --- a/search/functions_2.js +++ b/search/functions_2.js @@ -1,4 +1,15 @@ var searchData= [ - ['dot',['dot',['../namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a',1,'yage::matrix']]] + ['camera2d',['Camera2D',['../classyage_1_1Camera2D.html#a7ef3b02255622486ef8f396e2cb1ec4a',1,'yage::Camera2D']]], + ['clearbuffer',['clearBuffer',['../classyage_1_1Window.html#a98e2a33820ad63b2c94c56e203ff6e58',1,'yage::Window']]], + ['collider',['Collider',['../classyage_1_1Collider.html#ae33aeb0711409e7c3ef9e21ed99fa8a3',1,'yage::Collider']]], + ['collides',['collides',['../classyage_1_1Collider.html#abbab9373c0805ffa5215c08b82eaed03',1,'yage::Collider::collides()'],['../classyage_1_1RectangleCollider.html#a81e825cf009a437bc0f61b846cac66f6',1,'yage::RectangleCollider::collides()']]], + ['collisionbody',['CollisionBody',['../classyage_1_1CollisionBody.html#a5289e613269facc45cd451872c17a83d',1,'yage::CollisionBody']]], + ['color',['Color',['../structyage_1_1Color.html#ab0262bbe3b2ec12a9933fe411034d09e',1,'yage::Color::Color()=default'],['../structyage_1_1Color.html#a2ce7b1060775f64c9b578b3f81fdd648',1,'yage::Color::Color(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)']]], + ['colsize',['colSize',['../classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a',1,'yage::Matrix']]], + ['compileshader',['compileShader',['../classyage_1_1GlslProgram.html#a1acc7e052209fde74256c479af6d9988',1,'yage::GlslProgram']]], + ['compileshaders',['compileShaders',['../classyage_1_1GlslProgram.html#acf57b56739f67ac88b0d5df3bf1d4cb1',1,'yage::GlslProgram']]], + ['create',['create',['../classyage_1_1Window.html#abfb5ae5e5abf22133e59097fc8aae5fe',1,'yage::Window']]], + ['createrenderbatches',['createRenderBatches',['../classyage_1_1SpriteBatch.html#ae3e74abbf722aba0197b64d8f61d928c',1,'yage::SpriteBatch']]], + ['createvertexarray',['createVertexArray',['../classyage_1_1SpriteBatch.html#a4e21cc3bc27fbfaf1b6a15362b664027',1,'yage::SpriteBatch']]] ]; diff --git a/search/functions_3.js b/search/functions_3.js index 46243ac3..bbc33167 100644 --- a/search/functions_3.js +++ b/search/functions_3.js @@ -1,4 +1,7 @@ var searchData= [ - ['end',['end',['../classyage_1_1Matrix.html#a20ea5fe16d27ef15f775b5497cadc851',1,'yage::Matrix']]] + ['decodepng',['decodePNG',['../namespaceyage.html#a60fa59da6c362523413ddcd5739a9891',1,'yage']]], + ['depth',['depth',['../classyage_1_1Glyph.html#ab1906273e09446d9f6ccdc0a06428afa',1,'yage::Glyph']]], + ['dot',['dot',['../namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a',1,'yage::matrix']]], + ['draw',['draw',['../classyage_1_1Sprite.html#a8eed26f4fa57b3ad47d791564233ee40',1,'yage::Sprite::draw()'],['../classyage_1_1SpriteBatch.html#ab477a5393ddd7b78afba93b96962f038',1,'yage::SpriteBatch::draw()']]] ]; diff --git a/search/functions_4.js b/search/functions_4.js index 995953e1..58bfa89f 100644 --- a/search/functions_4.js +++ b/search/functions_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['getrow',['getRow',['../classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08',1,'yage::Matrix']]] + ['end',['end',['../classyage_1_1Matrix.html#a20ea5fe16d27ef15f775b5497cadc851',1,'yage::Matrix::end()'],['../classyage_1_1SpriteBatch.html#af8b705cdad7ceefa902f3be620ac8632',1,'yage::SpriteBatch::end()']]] ]; diff --git a/search/functions_5.js b/search/functions_5.js index a327fdef..db5e38ab 100644 --- a/search/functions_5.js +++ b/search/functions_5.js @@ -1,5 +1,10 @@ var searchData= [ - ['matrix',['Matrix',['../classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad',1,'yage::Matrix']]], - ['multiply',['multiply',['../namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985',1,'yage::matrix']]] + ['getcol',['getCol',['../classyage_1_1Matrix.html#a2833adcae1e01f637eba251c5aee7888',1,'yage::Matrix']]], + ['getrow',['getRow',['../classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08',1,'yage::Matrix']]], + ['gettexture',['getTexture',['../classyage_1_1ResourceManager.html#a36d805924374f27aa7dbce1d47795b25',1,'yage::ResourceManager::getTexture()'],['../classyage_1_1TextureCache.html#acec85e497e3dbcded344f4bed6b4389e',1,'yage::TextureCache::getTexture()']]], + ['getuniformlocation',['getUniformLocation',['../classyage_1_1GlslProgram.html#a255ccbb1d94d17f2de62319efd4be91d',1,'yage::GlslProgram']]], + ['glslprogram',['GlslProgram',['../classyage_1_1GlslProgram.html#a721b43cbdf82dbf68b3a4f3304a135c4',1,'yage::GlslProgram::GlslProgram()=default'],['../classyage_1_1GlslProgram.html#a78268f78af00bcb2358d48bb010aa9fd',1,'yage::GlslProgram::GlslProgram(const GlslProgram &)=delete'],['../classyage_1_1GlslProgram.html#af2cea717928baf5feed2ac5dc2a03290',1,'yage::GlslProgram::GlslProgram(GlslProgram &&)=delete']]], + ['glyph',['Glyph',['../classyage_1_1Glyph.html#a19ae31e594b33bb1ad3bc1763cdba38f',1,'yage::Glyph']]], + ['gravityacceleration',['gravityAcceleration',['../particlebodytest_8cpp.html#ad4bd594527645d0ee5fcb1d8d4e4d405',1,'particlebodytest.cpp']]] ]; diff --git a/search/functions_6.js b/search/functions_6.js index a2780bef..8431c0cc 100644 --- a/search/functions_6.js +++ b/search/functions_6.js @@ -1,4 +1,6 @@ var searchData= [ - ['rowsize',['rowSize',['../classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965',1,'yage::Matrix']]] + ['init',['init',['../classyage_1_1Sprite.html#a2f6294be8b2551077cf475892bcddcc1',1,'yage::Sprite::init()'],['../classyage_1_1SpriteBatch.html#a7731372a6ec1aea75d1732700fe0f4c6',1,'yage::SpriteBatch::init()'],['../namespaceyage.html#a6aea783cb978923211e165efefec4a7b',1,'yage::init()']]], + ['inside',['inside',['../classyage_1_1Collider.html#a4a8ad9e664a0015e023a70d196302fe9',1,'yage::Collider::inside()'],['../classyage_1_1RectangleCollider.html#ac8d8e6bdb12c21be12f7d398242147c4',1,'yage::RectangleCollider::inside()']]], + ['iskeypressed',['isKeyPressed',['../classyage_1_1InputManager.html#afc9124e171725c291f9a1b0ed670805e',1,'yage::InputManager']]] ]; diff --git a/search/functions_7.js b/search/functions_7.js index 50943f5d..96faba93 100644 --- a/search/functions_7.js +++ b/search/functions_7.js @@ -1,5 +1,5 @@ var searchData= [ - ['tostring',['toString',['../classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7',1,'yage::Matrix']]], - ['transpose',['transpose',['../namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7',1,'yage::matrix']]] + ['keypressed',['keyPressed',['../classyage_1_1InputManager.html#aa5f6416a0277a33cf9afe74e16f156a5',1,'yage::InputManager']]], + ['keyreleased',['keyReleased',['../classyage_1_1InputManager.html#aa420dbea2ae5e291b3fe9d8d3f9095d0',1,'yage::InputManager']]] ]; diff --git a/search/functions_8.html b/search/functions_8.html new file mode 100644 index 00000000..b55f0e65 --- /dev/null +++ b/search/functions_8.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/functions_8.js b/search/functions_8.js new file mode 100644 index 00000000..681c467d --- /dev/null +++ b/search/functions_8.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['linkshaders',['linkShaders',['../classyage_1_1GlslProgram.html#aed74ec6db4d2b02e1172bd5694eb1b27',1,'yage::GlslProgram']]], + ['loadpng',['loadPng',['../classyage_1_1ImageLoader.html#ad8dcdaaed43713f07723f2b6719d1b32',1,'yage::ImageLoader']]] +]; diff --git a/search/functions_9.html b/search/functions_9.html new file mode 100644 index 00000000..c73f07bb --- /dev/null +++ b/search/functions_9.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/functions_9.js b/search/functions_9.js new file mode 100644 index 00000000..2a98f5d8 --- /dev/null +++ b/search/functions_9.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['main',['main',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main(int argc, char *argv[]): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main(int argc, char *argv[]): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main(int argc, char *argv[]): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main(int argc, char *argv[]): CMakeCXXCompilerId.cpp'],['../feature__tests_8c.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): feature_tests.c'],['../feature__tests_8cxx.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): feature_tests.cxx'],['../matrixtest_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): matrixtest.cpp'],['../particlebodytest_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): particlebodytest.cpp'],['../windowtest_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): windowtest.cpp'],['../yagetest_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): yagetest.cpp']]], + ['matrix',['Matrix',['../classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad',1,'yage::Matrix::Matrix()'],['../classyage_1_1Matrix.html#a191b02ff353d04f18779d4c84e20927b',1,'yage::Matrix::Matrix(const std::vector< Type > &data)']]], + ['matrixaddition',['matrixAddition',['../matrixtest_8cpp.html#a5476c7c614ed26381a5ffca3ba9c8ed4',1,'matrixtest.cpp']]], + ['matrixassign',['matrixAssign',['../matrixtest_8cpp.html#a775b6c7dab5de10aea707de6281ad51e',1,'matrixtest.cpp']]], + ['matrixmultiplication',['matrixMultiplication',['../matrixtest_8cpp.html#a89c46f5f2d4bc6c62c5f9357ddb57f06',1,'matrixtest.cpp']]], + ['move',['move',['../classyage_1_1Camera2D.html#a9c6d369978a4c142db3059f8d5a122b0',1,'yage::Camera2D']]], + ['multiply',['multiply',['../namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985',1,'yage::matrix']]] +]; diff --git a/search/functions_a.html b/search/functions_a.html new file mode 100644 index 00000000..f10ad638 --- /dev/null +++ b/search/functions_a.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/functions_a.js b/search/functions_a.js new file mode 100644 index 00000000..eed8e0de --- /dev/null +++ b/search/functions_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['num_5fvertices',['num_vertices',['../classyage_1_1RenderBatch.html#ad5edaded9e6257aa2f3a3b7cae276307',1,'yage::RenderBatch']]] +]; diff --git a/search/functions_b.html b/search/functions_b.html new file mode 100644 index 00000000..172ea1b3 --- /dev/null +++ b/search/functions_b.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/functions_b.js b/search/functions_b.js new file mode 100644 index 00000000..c8c6e277 --- /dev/null +++ b/search/functions_b.js @@ -0,0 +1,14 @@ +var searchData= +[ + ['offset',['offset',['../classyage_1_1RenderBatch.html#a6bedb60b10b6d47b7b198d3cb53eea2a',1,'yage::RenderBatch']]], + ['operator_2a',['operator*',['../namespaceyage.html#ad8903f6a93ac89f16846458540717507',1,'yage::operator*(Matrix< M, N, T > lhs, const T &rhs)'],['../namespaceyage.html#a090cbd6b767b583364e9cbe78d8a8d5a',1,'yage::operator*(const T &lhs, Matrix< M, N, T > rhs)']]], + ['operator_2b',['operator+',['../namespaceyage.html#a226cc29763f745fd175844f4263d5dae',1,'yage::operator+(Matrix< M, N, T > lhs, const Matrix< M, N, T > &rhs)'],['../namespaceyage.html#a6b77afaa1cd077df90b9daccbfc2cbae',1,'yage::operator+(Matrix< M, N, T > lhs, const T &rhs)'],['../namespaceyage.html#a947133b8fc764d9fc5c5d8b08821cf32',1,'yage::operator+(const T &lhs, Matrix< M, N, T > rhs)']]], + ['operator_2b_3d',['operator+=',['../classyage_1_1Matrix.html#a8b7e0913efdb5e8c9ff39df4c4f36228',1,'yage::Matrix']]], + ['operator_2d',['operator-',['../namespaceyage.html#a2187fb11298a029f2877702192717090',1,'yage::operator-(Matrix< M, N, T > lhs, const Matrix< M, N, T > &rhs)'],['../namespaceyage.html#a8a9db24697f649f6d19f0347330d95fe',1,'yage::operator-(Matrix< M, N, T > lhs, const T &rhs)'],['../namespaceyage.html#ad9344d41af72f29cd6f8cf1ef62ed3cc',1,'yage::operator-(const T &lhs, Matrix< M, N, T > rhs)']]], + ['operator_2d_3d',['operator-=',['../classyage_1_1Matrix.html#acc2d0763f060c923ce53b37143d0a7bb',1,'yage::Matrix']]], + ['operator_2f',['operator/',['../namespaceyage.html#acca4a23afb94173695bbc1e1f2cde2b3',1,'yage']]], + ['operator_3c_3c',['operator<<',['../namespaceyage.html#a7ed614bc9d3e8b9f3f8d32b6a7ff28eb',1,'yage']]], + ['operator_3d',['operator=',['../classyage_1_1GlslProgram.html#a5af953324ac9f89aecf7e0a73a9467ad',1,'yage::GlslProgram::operator=(const GlslProgram &)=delete'],['../classyage_1_1GlslProgram.html#a0de6e3d7c8e39357c7b0f91d85b21fb2',1,'yage::GlslProgram::operator=(GlslProgram &&)=delete'],['../classyage_1_1Sprite.html#a97dd80e05efb9399ee8471ff40a77bee',1,'yage::Sprite::operator=(const Sprite &)=delete'],['../classyage_1_1Sprite.html#a3fe5615022d2b157b9e6375197254897',1,'yage::Sprite::operator=(Sprite &&)=delete'],['../classyage_1_1SpriteBatch.html#a1b365d89c096d7fa138e1c7091f1d737',1,'yage::SpriteBatch::operator=(const SpriteBatch &)=delete'],['../classyage_1_1SpriteBatch.html#a204782dd15c82376555ad0b049c4167f',1,'yage::SpriteBatch::operator=(SpriteBatch &&)=delete'],['../classyage_1_1Window.html#a5247a4164bf0006fe9f034cd27c5b6db',1,'yage::Window::operator=(const Window &)=delete'],['../classyage_1_1Window.html#a98c07656f90a6205f24dfe85ef1137de',1,'yage::Window::operator=(Window &&)=delete']]], + ['operator_3d_3d',['operator==',['../namespaceyage.html#a5ddd829cb1c7c4c880d0fd53326858fe',1,'yage']]], + ['operator_5b_5d',['operator[]',['../classyage_1_1detail_1_1Row.html#a2d29349b569f311919bb100855a4bfee',1,'yage::detail::Row::operator[](int col)'],['../classyage_1_1detail_1_1Row.html#a14db282093884cebc49229b42d869ad1',1,'yage::detail::Row::operator[](int col) const'],['../classyage_1_1Matrix.html#a9dc57c60a19b805a41b8bfb951ce2fef',1,'yage::Matrix::operator[](int row)'],['../classyage_1_1Matrix.html#ab15e9ff3285806dcb9748edb751b2315',1,'yage::Matrix::operator[](int row) const'],['../classyage_1_1Vector.html#a81efa1cb9d4ce8bb8c5cf9652a5650a2',1,'yage::Vector::operator[](int col)'],['../classyage_1_1Vector.html#a1e9c60516faeb06826666493a7ca307a',1,'yage::Vector::operator[](int col) const']]] +]; diff --git a/search/functions_c.html b/search/functions_c.html new file mode 100644 index 00000000..99492ba8 --- /dev/null +++ b/search/functions_c.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/functions_c.js b/search/functions_c.js new file mode 100644 index 00000000..9e470789 --- /dev/null +++ b/search/functions_c.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['particlebody',['ParticleBody',['../classyage_1_1ParticleBody.html#ae20aad802b5620597d0521663061efc0',1,'yage::ParticleBody']]], + ['position',['Position',['../structyage_1_1Position.html#a41b1d5ee23c50208982ab6089708e5d2',1,'yage::Position::Position()=default'],['../structyage_1_1Position.html#aaeaa1cd93e57adcb08ef4f76513148e2',1,'yage::Position::Position(float x_, float y_)']]] +]; diff --git a/search/functions_d.html b/search/functions_d.html new file mode 100644 index 00000000..5be9eccb --- /dev/null +++ b/search/functions_d.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/functions_d.js b/search/functions_d.js new file mode 100644 index 00000000..62c0b241 --- /dev/null +++ b/search/functions_d.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['quit',['quit',['../namespaceyage.html#ac9d8c7327204686b3c86f4ab48672618',1,'yage']]] +]; diff --git a/search/functions_e.html b/search/functions_e.html new file mode 100644 index 00000000..e256cb63 --- /dev/null +++ b/search/functions_e.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/functions_e.js b/search/functions_e.js new file mode 100644 index 00000000..baa68715 --- /dev/null +++ b/search/functions_e.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['readfiletobuffer',['readFileToBuffer',['../classyage_1_1IoManager.html#a75d13ca634df592e44e4152fedcd446d',1,'yage::IoManager']]], + ['rectanglecollider',['RectangleCollider',['../classyage_1_1RectangleCollider.html#af9e0964655073b0a190c9d06b449a969',1,'yage::RectangleCollider']]], + ['render',['render',['../classyage_1_1SpriteBatch.html#a195c4aca60815d413c65dce99389282d',1,'yage::SpriteBatch']]], + ['renderbatch',['RenderBatch',['../classyage_1_1RenderBatch.html#a4a3a3180c63c51178871648d4c8e6853',1,'yage::RenderBatch']]], + ['rigidbody',['RigidBody',['../classyage_1_1RigidBody.html#aed946934f970694c6f6840b09600a606',1,'yage::RigidBody']]], + ['row',['Row',['../classyage_1_1detail_1_1Row.html#aed5d16657dfa849a6ea1b8b05f5bbcf8',1,'yage::detail::Row']]], + ['rowsize',['rowSize',['../classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965',1,'yage::Matrix']]] +]; diff --git a/search/functions_f.html b/search/functions_f.html new file mode 100644 index 00000000..424126cd --- /dev/null +++ b/search/functions_f.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/functions_f.js b/search/functions_f.js new file mode 100644 index 00000000..7ac2ae82 --- /dev/null +++ b/search/functions_f.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['setcolor',['setColor',['../structyage_1_1Vertex.html#a0dc5fa6c669b4c10a8d56702f2aa9b50',1,'yage::Vertex']]], + ['setposition',['setPosition',['../structyage_1_1Vertex.html#af392248f0be173221ebcc62d490fe03d',1,'yage::Vertex']]], + ['setuv',['setUv',['../structyage_1_1Vertex.html#aa1fa8f5ebd883068828466cc924d4c50',1,'yage::Vertex']]], + ['sortglyphs',['sortGlyphs',['../classyage_1_1SpriteBatch.html#adea6570f196b203a4d6e07ad66738c9a',1,'yage::SpriteBatch']]], + ['sprite',['Sprite',['../classyage_1_1Sprite.html#a80b2bc32161d2444f4a4cf3492effc06',1,'yage::Sprite::Sprite()'],['../classyage_1_1Sprite.html#aa5a7958e17f1d042226b91fb1829642e',1,'yage::Sprite::Sprite(const Sprite &)=delete'],['../classyage_1_1Sprite.html#a33789b3e37bfcb84ed89ec69f47817a1',1,'yage::Sprite::Sprite(Sprite &&)=delete']]], + ['spritebatch',['SpriteBatch',['../classyage_1_1SpriteBatch.html#afda50a8a2a6c9ffd1b9d962fae223f8a',1,'yage::SpriteBatch::SpriteBatch()'],['../classyage_1_1SpriteBatch.html#a30a46a7182235a739916d540781af652',1,'yage::SpriteBatch::SpriteBatch(const SpriteBatch &)=delete'],['../classyage_1_1SpriteBatch.html#a7f18a506f4188acd2219da8147dc0e1e',1,'yage::SpriteBatch::SpriteBatch(SpriteBatch &&)=delete']]], + ['swapbuffer',['swapBuffer',['../classyage_1_1Window.html#a86d0aa8e9896850b9acfc720b5615359',1,'yage::Window']]] +]; diff --git a/search/namespaces_0.js b/search/namespaces_0.js index bb0b53b5..afce3ac6 100644 --- a/search/namespaces_0.js +++ b/search/namespaces_0.js @@ -1,4 +1,6 @@ var searchData= [ - ['matrix',['matrix',['../namespaceyage_1_1matrix.html',1,'yage']]] + ['detail',['detail',['../namespaceyage_1_1detail.html',1,'yage']]], + ['matrix',['matrix',['../namespaceyage_1_1matrix.html',1,'yage']]], + ['yage',['yage',['../namespaceyage.html',1,'']]] ]; diff --git a/search/related_0.html b/search/related_0.html new file mode 100644 index 00000000..1db947bc --- /dev/null +++ b/search/related_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/related_0.js b/search/related_0.js new file mode 100644 index 00000000..f7f775ae --- /dev/null +++ b/search/related_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['row_3c_20rows_2c_20cols_2c_20type_20_3e',['Row< Rows, Cols, Type >',['../classyage_1_1Matrix.html#ac06ebbb8e42e63b0707ef44561abcc2e',1,'yage::Matrix']]] +]; diff --git a/search/searchdata.js b/search/searchdata.js index 0bd01c3e..ee163790 100644 --- a/search/searchdata.js +++ b/search/searchdata.js @@ -1,13 +1,17 @@ var indexSectionsWithContent = { - 0: "bcdegmrtvy", - 1: "gmv", + 0: "abcdefghiklmnopqrstuvwxy~", + 1: "bcgimprstuvw", 2: "y", - 3: "m", - 4: "bcdegmrt", - 5: "d", + 3: "bcfgimprstvwy", + 4: "abcdegiklmnopqrstuvwxy~", + 5: "abcdfghikmnoprstuvwxy", 6: "v", - 7: "dy" + 7: "w", + 8: "bfhs", + 9: "d", + 10: "acdhps", + 11: "dy" }; var indexSectionNames = @@ -19,7 +23,11 @@ var indexSectionNames = 4: "functions", 5: "variables", 6: "typedefs", - 7: "pages" + 7: "enums", + 8: "enumvalues", + 9: "related", + 10: "defines", + 11: "pages" }; var indexSectionLabels = @@ -31,6 +39,10 @@ var indexSectionLabels = 4: "Functions", 5: "Variables", 6: "Typedefs", - 7: "Pages" + 7: "Enumerations", + 8: "Enumerator", + 9: "Friends", + 10: "Macros", + 11: "Pages" }; diff --git a/search/typedefs_0.js b/search/typedefs_0.js index 7f6e1c12..07056650 100644 --- a/search/typedefs_0.js +++ b/search/typedefs_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['vector2d',['Vector2d',['../matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078',1,'yage']]] + ['vector2d',['Vector2d',['../namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898',1,'yage']]] ]; diff --git a/search/variables_0.js b/search/variables_0.js index 3c258b6e..6251b678 100644 --- a/search/variables_0.js +++ b/search/variables_0.js @@ -1,4 +1,6 @@ var searchData= [ - ['data_5f',['data_',['../classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed',1,'yage::Matrix']]] + ['a',['a',['../structyage_1_1Color.html#a1df3f4a850d0e50dba19e0681d71f3a6',1,'yage::Color']]], + ['acceleration_5f',['acceleration_',['../classyage_1_1Body.html#a36c0a4485bf9a704901d88c6cf212a5f',1,'yage::Body']]], + ['attribute_5findex_5f',['attribute_index_',['../classyage_1_1GlslProgram.html#a55d4f797833c688be78c00882112e486',1,'yage::GlslProgram']]] ]; diff --git a/search/variables_1.html b/search/variables_1.html new file mode 100644 index 00000000..84237b6e --- /dev/null +++ b/search/variables_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_1.js b/search/variables_1.js new file mode 100644 index 00000000..87e72d2d --- /dev/null +++ b/search/variables_1.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['b',['b',['../structyage_1_1Color.html#a01253439ca70585948fb560ecdd3e766',1,'yage::Color']]], + ['bottom_5fleft_5f',['bottom_left_',['../classyage_1_1Glyph.html#add70123a08d594e4cfb627a03ae8daad',1,'yage::Glyph']]], + ['bottom_5fright_5f',['bottom_right_',['../classyage_1_1Glyph.html#a6240a88991e31b2fc8ed5dccfc362234',1,'yage::Glyph']]] +]; diff --git a/search/variables_10.html b/search/variables_10.html new file mode 100644 index 00000000..548ac843 --- /dev/null +++ b/search/variables_10.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_10.js b/search/variables_10.js new file mode 100644 index 00000000..bffe66be --- /dev/null +++ b/search/variables_10.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['u',['u',['../structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053',1,'yage::UV']]], + ['uv',['uv',['../structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e',1,'yage::Vertex']]] +]; diff --git a/search/variables_11.html b/search/variables_11.html new file mode 100644 index 00000000..d5be9145 --- /dev/null +++ b/search/variables_11.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_11.js b/search/variables_11.js new file mode 100644 index 00000000..8afd5b57 --- /dev/null +++ b/search/variables_11.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['v',['v',['../structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793',1,'yage::UV']]], + ['vao_5f',['vao_',['../classyage_1_1SpriteBatch.html#a00a06cc5f4bd47c2d5003cf2e3d7a6c1',1,'yage::SpriteBatch']]], + ['vbo_5f',['vbo_',['../classyage_1_1SpriteBatch.html#a56e335f07826ca61ba680981d46b043c',1,'yage::SpriteBatch']]], + ['vbo_5fid_5f',['vbo_id_',['../classyage_1_1Sprite.html#a0f48a2cd909000f719cde8dea33bf1ad',1,'yage::Sprite']]], + ['velocity_5f',['velocity_',['../classyage_1_1Body.html#afead7edec899748eab78879e6e6c5741',1,'yage::Body']]], + ['vertex_5fshader_5fid_5f',['vertex_shader_id_',['../classyage_1_1GlslProgram.html#afe46af121e9c0214be6f7b18660c5bc7',1,'yage::GlslProgram']]] +]; diff --git a/search/variables_12.html b/search/variables_12.html new file mode 100644 index 00000000..b62e1ee1 --- /dev/null +++ b/search/variables_12.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_12.js b/search/variables_12.js new file mode 100644 index 00000000..335070ac --- /dev/null +++ b/search/variables_12.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['width',['width',['../structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598',1,'yage::Texture']]], + ['width_5f',['width_',['../classyage_1_1Sprite.html#a9699a12e74c0b78d3b4e396fed59b7a8',1,'yage::Sprite']]], + ['window_5f',['window_',['../classyage_1_1Window.html#acebbf824fbe3bb6afa32f2f33817050b',1,'yage::Window']]] +]; diff --git a/search/variables_13.html b/search/variables_13.html new file mode 100644 index 00000000..15437be2 --- /dev/null +++ b/search/variables_13.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_13.js b/search/variables_13.js new file mode 100644 index 00000000..adb3891f --- /dev/null +++ b/search/variables_13.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['x',['x',['../structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91',1,'yage::Position']]], + ['x_5f',['x_',['../classyage_1_1Sprite.html#a6374eb3013ac9b87fa136f317dfb8d03',1,'yage::Sprite']]] +]; diff --git a/search/variables_14.html b/search/variables_14.html new file mode 100644 index 00000000..3745fec3 --- /dev/null +++ b/search/variables_14.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_14.js b/search/variables_14.js new file mode 100644 index 00000000..3065cddd --- /dev/null +++ b/search/variables_14.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['y',['y',['../structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27',1,'yage::Position']]], + ['y_5f',['y_',['../classyage_1_1Sprite.html#a91e70bb6f123955cb3dd5e7932e9c3ed',1,'yage::Sprite']]] +]; diff --git a/search/variables_2.html b/search/variables_2.html new file mode 100644 index 00000000..5c9de1aa --- /dev/null +++ b/search/variables_2.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_2.js b/search/variables_2.js new file mode 100644 index 00000000..120f64c8 --- /dev/null +++ b/search/variables_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['camera_5fmatrix_5f',['camera_matrix_',['../classyage_1_1Camera2D.html#a76e9d3623fd930530fbe6cdccc9b7707',1,'yage::Camera2D']]], + ['color',['color',['../structyage_1_1Vertex.html#aaa2cdca3a1186c57f1c75cee34ec3144',1,'yage::Vertex']]] +]; diff --git a/search/variables_3.html b/search/variables_3.html new file mode 100644 index 00000000..f95e34c6 --- /dev/null +++ b/search/variables_3.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_3.js b/search/variables_3.js new file mode 100644 index 00000000..b333129c --- /dev/null +++ b/search/variables_3.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['data_5f',['data_',['../classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed',1,'yage::Matrix']]], + ['depth_5f',['depth_',['../classyage_1_1Glyph.html#ab27b92a62dcebccae673a7d8d0c15704',1,'yage::Glyph']]] +]; diff --git a/search/variables_4.html b/search/variables_4.html new file mode 100644 index 00000000..d7db285e --- /dev/null +++ b/search/variables_4.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_4.js b/search/variables_4.js new file mode 100644 index 00000000..f782d732 --- /dev/null +++ b/search/variables_4.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['features',['features',['../feature__tests_8c.html#a1582568e32f689337602a16bf8a5bff0',1,'features(): feature_tests.c'],['../feature__tests_8cxx.html#a1582568e32f689337602a16bf8a5bff0',1,'features(): feature_tests.cxx']]], + ['force_5f',['force_',['../classyage_1_1Body.html#a262c896b473d7672cde524145cd7981d',1,'yage::Body']]], + ['fragment_5fshader_5fid_5f',['fragment_shader_id_',['../classyage_1_1GlslProgram.html#ad20ee225c8e981861923a2d7eeaf940f',1,'yage::GlslProgram']]] +]; diff --git a/search/variables_5.html b/search/variables_5.html new file mode 100644 index 00000000..7bbceeb0 --- /dev/null +++ b/search/variables_5.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_5.js b/search/variables_5.js new file mode 100644 index 00000000..5ddda440 --- /dev/null +++ b/search/variables_5.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['g',['g',['../structyage_1_1Color.html#ada90145192a7bc439269ab49e31a461a',1,'yage::Color']]], + ['glyph_5fptrs_5f',['glyph_ptrs_',['../classyage_1_1SpriteBatch.html#aab5ddd1b98fc66c19eeed4d818c6b387',1,'yage::SpriteBatch']]], + ['glyphs_5f',['glyphs_',['../classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200',1,'yage::SpriteBatch']]], + ['gravity',['GRAVITY',['../classyage_1_1Body.html#a4f61913cf00244a6160e09cda846f766',1,'yage::Body']]], + ['gravity_5f',['gravity_',['../classyage_1_1Body.html#a454a7c59d07c94afb0a35c3d53ec2191',1,'yage::Body']]] +]; diff --git a/search/variables_6.html b/search/variables_6.html new file mode 100644 index 00000000..4eb162d6 --- /dev/null +++ b/search/variables_6.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_6.js b/search/variables_6.js new file mode 100644 index 00000000..10818313 --- /dev/null +++ b/search/variables_6.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['height',['height',['../structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e',1,'yage::Texture']]], + ['height_5f',['height_',['../classyage_1_1Sprite.html#abe6306d84f416b99ff3725ac6d9659d3',1,'yage::Sprite']]] +]; diff --git a/search/variables_7.html b/search/variables_7.html new file mode 100644 index 00000000..04088295 --- /dev/null +++ b/search/variables_7.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_7.js b/search/variables_7.js new file mode 100644 index 00000000..f5c4e3bb --- /dev/null +++ b/search/variables_7.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['id',['id',['../structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968',1,'yage::Texture']]], + ['index_5f',['index_',['../classyage_1_1detail_1_1Row.html#a237bb404a38dbc1a80e86f911a33c205',1,'yage::detail::Row']]], + ['info_5farch',['info_arch',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391',1,'info_arch(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a59647e99d304ed33b15cb284c27ed391',1,'info_arch(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391',1,'info_arch(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a59647e99d304ed33b15cb284c27ed391',1,'info_arch(): CMakeCXXCompilerId.cpp']]], + ['info_5fcompiler',['info_compiler',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6',1,'info_compiler(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a4b0efeb7a5d59313986b3a0390f050f6',1,'info_compiler(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6',1,'info_compiler(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a4b0efeb7a5d59313986b3a0390f050f6',1,'info_compiler(): CMakeCXXCompilerId.cpp']]], + ['info_5flanguage_5fdialect_5fdefault',['info_language_dialect_default',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a1ce162bad2fe6966ac8b33cc19e120b8',1,'info_language_dialect_default(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a1ce162bad2fe6966ac8b33cc19e120b8',1,'info_language_dialect_default(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a1ce162bad2fe6966ac8b33cc19e120b8',1,'info_language_dialect_default(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a1ce162bad2fe6966ac8b33cc19e120b8',1,'info_language_dialect_default(): CMakeCXXCompilerId.cpp']]], + ['info_5fplatform',['info_platform',['../3_88_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4',1,'info_platform(): CMakeCCompilerId.c'],['../3_88_82_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a2321403dee54ee23f0c2fa849c60f7d4',1,'info_platform(): CMakeCXXCompilerId.cpp'],['../3_89_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4',1,'info_platform(): CMakeCCompilerId.c'],['../3_89_81_2CompilerIdCXX_2CMakeCXXCompilerId_8cpp.html#a2321403dee54ee23f0c2fa849c60f7d4',1,'info_platform(): CMakeCXXCompilerId.cpp']]] +]; diff --git a/search/variables_8.html b/search/variables_8.html new file mode 100644 index 00000000..d54d0966 --- /dev/null +++ b/search/variables_8.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_8.js b/search/variables_8.js new file mode 100644 index 00000000..ea91948d --- /dev/null +++ b/search/variables_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['key_5fmap_5f',['key_map_',['../classyage_1_1InputManager.html#a9a484e406a3713df30ad887abd8ae28c',1,'yage::InputManager']]] +]; diff --git a/search/variables_9.html b/search/variables_9.html new file mode 100644 index 00000000..234dc60a --- /dev/null +++ b/search/variables_9.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_9.js b/search/variables_9.js new file mode 100644 index 00000000..82b7cf37 --- /dev/null +++ b/search/variables_9.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['mass_5f',['mass_',['../classyage_1_1Body.html#a01b2a500e71bc88f2cb597f376bc8289',1,'yage::Body']]], + ['matrix_5fneeds_5fupdate_5f',['matrix_needs_update_',['../classyage_1_1Camera2D.html#a84a0aeb53f0327e192b6e36ce24a41ea',1,'yage::Camera2D']]] +]; diff --git a/search/variables_a.html b/search/variables_a.html new file mode 100644 index 00000000..08924881 --- /dev/null +++ b/search/variables_a.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_a.js b/search/variables_a.js new file mode 100644 index 00000000..bf4ff234 --- /dev/null +++ b/search/variables_a.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['num_5fvertices',['NUM_VERTICES',['../classyage_1_1SpriteBatch.html#a6e01d11880a841b153e950aa8307b1a5',1,'yage::SpriteBatch']]], + ['num_5fvertices_5f',['num_vertices_',['../classyage_1_1RenderBatch.html#a160bf0e089d392d26fd50935263762ba',1,'yage::RenderBatch']]] +]; diff --git a/search/variables_b.html b/search/variables_b.html new file mode 100644 index 00000000..ea46965c --- /dev/null +++ b/search/variables_b.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_b.js b/search/variables_b.js new file mode 100644 index 00000000..692bfb8d --- /dev/null +++ b/search/variables_b.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['offset_5f',['offset_',['../classyage_1_1RenderBatch.html#a129b5fa960e1acc85650ce06b10905e7',1,'yage::RenderBatch']]], + ['ortho_5fmatrix_5f',['ortho_matrix_',['../classyage_1_1Camera2D.html#ae557d3648deba40236fd696a17c7d7c4',1,'yage::Camera2D']]] +]; diff --git a/search/variables_c.html b/search/variables_c.html new file mode 100644 index 00000000..94bf1a67 --- /dev/null +++ b/search/variables_c.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_c.js b/search/variables_c.js new file mode 100644 index 00000000..ffa94044 --- /dev/null +++ b/search/variables_c.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['parent_5f',['parent_',['../classyage_1_1detail_1_1Row.html#ac4cca9c5299c5e874a53166e56383055',1,'yage::detail::Row']]], + ['position',['position',['../structyage_1_1Vertex.html#abefe88d26b055655f9cc038a1dd4ff6a',1,'yage::Vertex']]], + ['position_5f',['position_',['../classyage_1_1Camera2D.html#af3eec769d8b57ec0f6d370f5f75a6eda',1,'yage::Camera2D::position_()'],['../classyage_1_1Body.html#a8fe4f244be47f1336a57c1f2aa095157',1,'yage::Body::position_()'],['../classyage_1_1Collider.html#a2ae348a82a0ca7a871c05f36e5031161',1,'yage::Collider::position_()']]], + ['program_5fid_5f',['program_id_',['../classyage_1_1GlslProgram.html#ad8f02beee9fdc3608d7aceebf3398e8b',1,'yage::GlslProgram']]] +]; diff --git a/search/variables_d.html b/search/variables_d.html new file mode 100644 index 00000000..b9381e99 --- /dev/null +++ b/search/variables_d.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_d.js b/search/variables_d.js new file mode 100644 index 00000000..6f39129f --- /dev/null +++ b/search/variables_d.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['r',['r',['../structyage_1_1Color.html#a5a97b7679703c28ad0c90d1bedde5da1',1,'yage::Color']]], + ['render_5fbatches_5f',['render_batches_',['../classyage_1_1SpriteBatch.html#abf057ffe5fd9b7c35256dad147391008',1,'yage::SpriteBatch']]] +]; diff --git a/search/variables_e.html b/search/variables_e.html new file mode 100644 index 00000000..375ad705 --- /dev/null +++ b/search/variables_e.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_e.js b/search/variables_e.js new file mode 100644 index 00000000..dbb283b2 --- /dev/null +++ b/search/variables_e.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['scale_5f',['scale_',['../classyage_1_1Camera2D.html#abf1432e35cef0a54f35863f13a9d5448',1,'yage::Camera2D']]], + ['size_5f',['size_',['../classyage_1_1Collider.html#ad7456f84c1acb4fd9ee0ea67c8ee7308',1,'yage::Collider']]], + ['spritebatch',['SpriteBatch',['../classyage_1_1RenderBatch.html#ad12ecf32cf9f9244afa7e9ad15b4e78f',1,'yage::RenderBatch']]] +]; diff --git a/search/variables_f.html b/search/variables_f.html new file mode 100644 index 00000000..d3714186 --- /dev/null +++ b/search/variables_f.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/search/variables_f.js b/search/variables_f.js new file mode 100644 index 00000000..16359cd1 --- /dev/null +++ b/search/variables_f.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['texture_5f',['texture_',['../classyage_1_1Sprite.html#ac8f6505d7b080bb346458e6d70cc60d0',1,'yage::Sprite::texture_()'],['../classyage_1_1Glyph.html#a2efbe49c2307601731416d615ac415c8',1,'yage::Glyph::texture_()'],['../classyage_1_1RenderBatch.html#a17da9d35451d55766836917699406160',1,'yage::RenderBatch::texture_()']]], + ['texture_5fcache_5f',['texture_cache_',['../classyage_1_1ResourceManager.html#a2799a8ff957874fbe7b7c791781255f6',1,'yage::ResourceManager']]], + ['texture_5fmap_5f',['texture_map_',['../classyage_1_1TextureCache.html#aecd72d2dd02efb862548e4def6f6b323',1,'yage::TextureCache']]], + ['top_5fleft_5f',['top_left_',['../classyage_1_1Glyph.html#a71c5c3381928153e3eb2f67461b76a2d',1,'yage::Glyph']]], + ['top_5fright_5f',['top_right_',['../classyage_1_1Glyph.html#a9db1936e683cafe3b6ef72f63b3241fa',1,'yage::Glyph']]] +]; diff --git a/sprite_8cpp.html b/sprite_8cpp.html new file mode 100644 index 00000000..ebf167c3 --- /dev/null +++ b/sprite_8cpp.html @@ -0,0 +1,113 @@ + + + + + + + +YAGE: src/sprite.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
sprite.cpp File Reference
+
+
+
#include "sprite.hpp"
+#include "resourcemanager.hpp"
+#include "vertex.hpp"
+#include <cstddef>
+
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/sprite_8hpp.html b/sprite_8hpp.html new file mode 100644 index 00000000..a3a17627 --- /dev/null +++ b/sprite_8hpp.html @@ -0,0 +1,120 @@ + + + + + + + +YAGE: include/YAGE/sprite.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
sprite.hpp File Reference
+
+
+
#include "texture.hpp"
+#include <GL/glew.h>
+#include <string>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::Sprite
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/sprite_8hpp_source.html b/sprite_8hpp_source.html index dcfcbbe7..555416d0 100644 --- a/sprite_8hpp_source.html +++ b/sprite_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
sprite.hpp
-
1 /* ----------------------------------------------------------------------------
2  * sprite.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef SPRITE_HPP
10 #define SPRITE_HPP
11 
12 #include "texture.hpp"
13 
14 #include <GL/glew.h>
15 
16 #include <string>
17 
18 namespace yage {
19 
20 class Sprite {
21 private:
22  float x_;
23  float y_;
24  float width_;
25  float height_;
26  GLuint vbo_id_ = 0;
27  Texture texture_;
28 
29 public:
30  Sprite();
31  Sprite(const Sprite&) = delete;
32  Sprite(Sprite&&) = delete;
33  ~Sprite();
34 
35  Sprite& operator=(const Sprite&) = delete;
36  Sprite& operator=(Sprite&&) = delete;
37 
38  void init(float x, float y, float width, float height,
39  const std::string& texture_path);
40  void draw();
41 };
42 
43 } // yage
44 
45 #endif
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * sprite.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef SPRITE_HPP
10 #define SPRITE_HPP
11 
12 #include "texture.hpp"
13 
14 #include <GL/glew.h>
15 
16 #include <string>
17 
18 namespace yage {
19 
20 class Sprite {
21 private:
22  float x_;
23  float y_;
24  float width_;
25  float height_;
26  GLuint vbo_id_ = 0;
28 
29 public:
30  Sprite();
31  Sprite(const Sprite&) = delete;
32  Sprite(Sprite&&) = delete;
33  ~Sprite();
34 
35  Sprite& operator=(const Sprite&) = delete;
36  Sprite& operator=(Sprite&&) = delete;
37 
38  void init(float x, float y, float width, float height,
39  const std::string& texture_path);
40  void draw();
41 };
42 
43 } // yage
44 
45 #endif
+
void draw()
Definition: sprite.cpp:64
+
Texture texture_
Definition: sprite.hpp:27
+
GLuint vbo_id_
Definition: sprite.hpp:26
+
float width_
Definition: sprite.hpp:24
+ +
void init(float x, float y, float width, float height, const std::string &texture_path)
Definition: sprite.cpp:23
+
Definition: texture.hpp:16
+
float x_
Definition: sprite.hpp:22
+
~Sprite()
Definition: sprite.cpp:19
+
float y_
Definition: sprite.hpp:23
+
Sprite & operator=(const Sprite &)=delete
+
Templated matrix class.
Definition: camera2d.hpp:17
+
float height_
Definition: sprite.hpp:25
+
Definition: sprite.hpp:20
+
- + diff --git a/spritebatch_8cpp.html b/spritebatch_8cpp.html new file mode 100644 index 00000000..11fa689b --- /dev/null +++ b/spritebatch_8cpp.html @@ -0,0 +1,112 @@ + + + + + + + +YAGE: src/spritebatch.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
spritebatch.cpp File Reference
+
+
+
#include "spritebatch.hpp"
+#include <algorithm>
+#include <stdexcept>
+
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/spritebatch_8hpp.html b/spritebatch_8hpp.html new file mode 100644 index 00000000..86d8c449 --- /dev/null +++ b/spritebatch_8hpp.html @@ -0,0 +1,126 @@ + + + + + + + +YAGE: include/YAGE/spritebatch.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
spritebatch.hpp File Reference
+
+
+
#include "vertex.hpp"
+#include <GL/glew.h>
+#include <glm/glm.hpp>
+#include <vector>
+
+

Go to the source code of this file.

+ + + + + + + + + +

+Classes

class  yage::Glyph
 Glyph with information of the texture. More...
 
class  yage::RenderBatch
 
class  yage::SpriteBatch
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/spritebatch_8hpp_source.html b/spritebatch_8hpp_source.html index 0c583581..68a27b38 100644 --- a/spritebatch_8hpp_source.html +++ b/spritebatch_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
spritebatch.hpp
-
1 /* ----------------------------------------------------------------------------
2  * spritebatch.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_SPRITE_BATCH_HPP
10 #define YAGE_SPRITE_BATCH_HPP
11 
12 #include "vertex.hpp"
13 
14 #include <GL/glew.h>
15 #include <glm/glm.hpp>
16 
17 #include <vector>
18 
19 namespace yage {
20 
21 class SpriteBatch;
22 
25 class Glyph {
26 private:
27  GLuint texture_;
28  float depth_;
29  Vertex top_left_;
30  Vertex top_right_;
31  Vertex bottom_right_;
32  Vertex bottom_left_;
33 
34 public:
35  Glyph(GLuint texture, float depth, const Vertex& top_left,
36  const Vertex& top_right, const Vertex& bottom_right,
37  const Vertex& bottom_left);
38 
39  GLuint texture() const { return texture_; }
40  float depth() const { return depth_; }
41  Vertex top_left() const { return top_left_; }
42  Vertex top_right() const { return top_right_; }
43  Vertex bottom_right() const { return bottom_right_; }
44  Vertex bottom_left() const { return bottom_left_; }
45 };
46 
47 class RenderBatch {
48  friend SpriteBatch;
49 private:
50  GLsizei num_vertices_;
51  GLint offset_;
52  GLuint texture_;
53 
54 public:
55  RenderBatch(GLint offset, GLsizei num_vertices, GLuint texture);
56 
57  GLint offset() const { return offset_; }
58  GLsizei num_vertices() const { return num_vertices_; }
59  GLuint texture() const { return texture_; }
60 };
61 
62 class SpriteBatch {
63 public:
64  static const int NUM_VERTICES = 6;
65 
66 private:
67  GLuint vbo_ = 0;
68  GLuint vao_ = 0;
69  std::vector<Glyph> glyphs_;
70  std::vector<Glyph*> glyph_ptrs_;
71  std::vector<RenderBatch> render_batches_;
72 
73 public:
74  SpriteBatch();
75  SpriteBatch(const SpriteBatch&) = delete;
76  SpriteBatch(SpriteBatch&&) = delete;
77  ~SpriteBatch();
78 
79  SpriteBatch& operator=(const SpriteBatch&) = delete;
80  SpriteBatch& operator=(SpriteBatch&&) = delete;
81 
82  // initialize vaos and vbos
83  void init();
84  void begin();
85  void end();
86  // adds a sprite to the sprite batch to be rendered later
87  void draw(const glm::vec4& destination_rect, const glm::vec4& uv_rect,
88  GLuint texture, const Color& color, float depth);
89  // render the batch
90  void render();
91 
92 private:
93  void createVertexArray();
94  void createRenderBatches();
95  void sortGlyphs();
96 };
97 
98 } // namespace yage
99 
100 #endif
Glyph with information of the texture.
Definition: spritebatch.hpp:25
-
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * spritebatch.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_SPRITE_BATCH_HPP
10 #define YAGE_SPRITE_BATCH_HPP
11 
12 #include "vertex.hpp"
13 
14 #include <GL/glew.h>
15 #include <glm/glm.hpp>
16 
17 #include <vector>
18 
19 namespace yage {
20 
21 class SpriteBatch;
22 
25 class Glyph {
26 private:
27  GLuint texture_;
28  float depth_;
33 
34 public:
35  Glyph(GLuint texture, float depth, const Vertex& top_left,
36  const Vertex& top_right, const Vertex& bottom_right,
37  const Vertex& bottom_left);
38 
39  GLuint texture() const { return texture_; }
40  float depth() const { return depth_; }
41  Vertex top_left() const { return top_left_; }
42  Vertex top_right() const { return top_right_; }
43  Vertex bottom_right() const { return bottom_right_; }
44  Vertex bottom_left() const { return bottom_left_; }
45 };
46 
47 class RenderBatch {
48  friend SpriteBatch;
49 private:
50  GLsizei num_vertices_;
51  GLint offset_;
52  GLuint texture_;
53 
54 public:
55  RenderBatch(GLint offset, GLsizei num_vertices, GLuint texture);
56 
57  GLint offset() const { return offset_; }
58  GLsizei num_vertices() const { return num_vertices_; }
59  GLuint texture() const { return texture_; }
60 };
61 
62 class SpriteBatch {
63 public:
64  static const int NUM_VERTICES = 6;
65 
66 private:
67  GLuint vbo_ = 0;
68  GLuint vao_ = 0;
69  std::vector<Glyph> glyphs_;
70  std::vector<Glyph*> glyph_ptrs_;
71  std::vector<RenderBatch> render_batches_;
72 
73 public:
74  SpriteBatch();
75  SpriteBatch(const SpriteBatch&) = delete;
76  SpriteBatch(SpriteBatch&&) = delete;
77  ~SpriteBatch();
78 
79  SpriteBatch& operator=(const SpriteBatch&) = delete;
80  SpriteBatch& operator=(SpriteBatch&&) = delete;
81 
82  // initialize vaos and vbos
83  void init();
84  void begin();
85  void end();
86  // adds a sprite to the sprite batch to be rendered later
87  void draw(const glm::vec4& destination_rect, const glm::vec4& uv_rect,
88  GLuint texture, const Color& color, float depth);
89  // render the batch
90  void render();
91 
92 private:
93  void createVertexArray();
94  void createRenderBatches();
95  void sortGlyphs();
96 };
97 
98 } // namespace yage
99 
100 #endif
Definition: spritebatch.hpp:47
+
bool init()
Definition: yage.hpp:30
+
GLuint texture_
Definition: spritebatch.hpp:52
+
Vertex bottom_left_
Definition: spritebatch.hpp:32
+
Vertex top_right() const
Definition: spritebatch.hpp:42
+
GLuint texture() const
Definition: spritebatch.hpp:39
+
Definition: vertex.hpp:46
+
std::vector< Glyph * > glyph_ptrs_
Definition: spritebatch.hpp:70
+
float depth() const
Definition: spritebatch.hpp:40
+
Definition: spritebatch.hpp:62
+ +
Vertex top_left_
Definition: spritebatch.hpp:29
+
GLuint texture() const
Definition: spritebatch.hpp:59
+
Glyph(GLuint texture, float depth, const Vertex &top_left, const Vertex &top_right, const Vertex &bottom_right, const Vertex &bottom_left)
Definition: spritebatch.cpp:18
+
float depth_
Definition: spritebatch.hpp:28
+
friend SpriteBatch
Definition: spritebatch.hpp:48
+
GLuint texture_
Definition: spritebatch.hpp:27
+
Vertex bottom_left() const
Definition: spritebatch.hpp:44
+
Vertex bottom_right() const
Definition: spritebatch.hpp:43
+
Vertex bottom_right_
Definition: spritebatch.hpp:31
+
std::vector< RenderBatch > render_batches_
Definition: spritebatch.hpp:71
+
std::vector< Glyph > glyphs_
Definition: spritebatch.hpp:69
+
GLint offset_
Definition: spritebatch.hpp:51
+
Vertex top_right_
Definition: spritebatch.hpp:30
+
GLsizei num_vertices() const
Definition: spritebatch.hpp:58
+
GLint offset() const
Definition: spritebatch.hpp:57
+
Glyph with information of the texture.
Definition: spritebatch.hpp:25
+
Vertex top_left() const
Definition: spritebatch.hpp:41
+
Templated matrix class.
Definition: camera2d.hpp:17
+
GLsizei num_vertices_
Definition: spritebatch.hpp:50
+
Definition: vertex.hpp:25
+
- + diff --git a/structyage_1_1Color-members.html b/structyage_1_1Color-members.html new file mode 100644 index 00000000..79c80e04 --- /dev/null +++ b/structyage_1_1Color-members.html @@ -0,0 +1,108 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::Color Member List
+
+
+ +

This is the complete list of members for yage::Color, including all inherited members.

+ + + + + + + +
ayage::Color
byage::Color
Color()=defaultyage::Color
Color(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)yage::Colorinline
gyage::Color
ryage::Color
+
+ + + + diff --git a/structyage_1_1Color.html b/structyage_1_1Color.html new file mode 100644 index 00000000..261b71c3 --- /dev/null +++ b/structyage_1_1Color.html @@ -0,0 +1,259 @@ + + + + + + + +YAGE: yage::Color Struct Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::Color Struct Reference
+
+
+ +

#include <vertex.hpp>

+ + + + + + +

+Public Member Functions

 Color ()=default
 
 Color (GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)
 
+ + + + + + + + + +

+Public Attributes

GLubyte r
 
GLubyte g
 
GLubyte b
 
GLubyte a
 
+

Constructor & Destructor Documentation

+ +

◆ Color() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
yage::Color::Color ()
+
+default
+
+ +
+
+ +

◆ Color() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
yage::Color::Color (GLubyte r_,
GLubyte g_,
GLubyte b_,
GLubyte a_ 
)
+
+inline
+
+ +
+
+

Member Data Documentation

+ +

◆ a

+ +
+
+ + + + +
GLubyte yage::Color::a
+
+ +
+
+ +

◆ b

+ +
+
+ + + + +
GLubyte yage::Color::b
+
+ +
+
+ +

◆ g

+ +
+
+ + + + +
GLubyte yage::Color::g
+
+ +
+
+ +

◆ r

+ +
+
+ + + + +
GLubyte yage::Color::r
+
+ +
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/structyage_1_1Color.js b/structyage_1_1Color.js new file mode 100644 index 00000000..823d4739 --- /dev/null +++ b/structyage_1_1Color.js @@ -0,0 +1,9 @@ +var structyage_1_1Color = +[ + [ "Color", "structyage_1_1Color.html#ab0262bbe3b2ec12a9933fe411034d09e", null ], + [ "Color", "structyage_1_1Color.html#a2ce7b1060775f64c9b578b3f81fdd648", null ], + [ "a", "structyage_1_1Color.html#a1df3f4a850d0e50dba19e0681d71f3a6", null ], + [ "b", "structyage_1_1Color.html#a01253439ca70585948fb560ecdd3e766", null ], + [ "g", "structyage_1_1Color.html#ada90145192a7bc439269ab49e31a461a", null ], + [ "r", "structyage_1_1Color.html#a5a97b7679703c28ad0c90d1bedde5da1", null ] +]; \ No newline at end of file diff --git a/structyage_1_1Position-members.html b/structyage_1_1Position-members.html new file mode 100644 index 00000000..9ce8de71 --- /dev/null +++ b/structyage_1_1Position-members.html @@ -0,0 +1,106 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::Position Member List
+
+
+ +

This is the complete list of members for yage::Position, including all inherited members.

+ + + + + +
Position()=defaultyage::Position
Position(float x_, float y_)yage::Positioninline
xyage::Position
yyage::Position
+
+ + + + diff --git a/structyage_1_1Position.html b/structyage_1_1Position.html new file mode 100644 index 00000000..09112c26 --- /dev/null +++ b/structyage_1_1Position.html @@ -0,0 +1,215 @@ + + + + + + + +YAGE: yage::Position Struct Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::Position Struct Reference
+
+
+ +

#include <vertex.hpp>

+ + + + + + +

+Public Member Functions

 Position ()=default
 
 Position (float x_, float y_)
 
+ + + + + +

+Public Attributes

float x
 
float y
 
+

Constructor & Destructor Documentation

+ +

◆ Position() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
yage::Position::Position ()
+
+default
+
+ +
+
+ +

◆ Position() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
yage::Position::Position (float x_,
float y_ 
)
+
+inline
+
+ +
+
+

Member Data Documentation

+ +

◆ x

+ +
+
+ + + + +
float yage::Position::x
+
+ +
+
+ +

◆ y

+ +
+
+ + + + +
float yage::Position::y
+
+ +
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/structyage_1_1Position.js b/structyage_1_1Position.js new file mode 100644 index 00000000..1b25a716 --- /dev/null +++ b/structyage_1_1Position.js @@ -0,0 +1,7 @@ +var structyage_1_1Position = +[ + [ "Position", "structyage_1_1Position.html#a41b1d5ee23c50208982ab6089708e5d2", null ], + [ "Position", "structyage_1_1Position.html#aaeaa1cd93e57adcb08ef4f76513148e2", null ], + [ "x", "structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91", null ], + [ "y", "structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27", null ] +]; \ No newline at end of file diff --git a/structyage_1_1Texture-members.html b/structyage_1_1Texture-members.html new file mode 100644 index 00000000..651d5204 --- /dev/null +++ b/structyage_1_1Texture-members.html @@ -0,0 +1,105 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::Texture Member List
+
+
+ +

This is the complete list of members for yage::Texture, including all inherited members.

+ + + + +
heightyage::Texture
idyage::Texture
widthyage::Texture
+
+ + + + diff --git a/structyage_1_1Texture.html b/structyage_1_1Texture.html new file mode 100644 index 00000000..e108a0e5 --- /dev/null +++ b/structyage_1_1Texture.html @@ -0,0 +1,161 @@ + + + + + + + +YAGE: yage::Texture Struct Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::Texture Struct Reference
+
+
+ +

#include <texture.hpp>

+ + + + + + + + +

+Public Attributes

GLuint id
 
int width
 
int height
 
+

Member Data Documentation

+ +

◆ height

+ +
+
+ + + + +
int yage::Texture::height
+
+ +
+
+ +

◆ id

+ +
+
+ + + + +
GLuint yage::Texture::id
+
+ +
+
+ +

◆ width

+ +
+
+ + + + +
int yage::Texture::width
+
+ +
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/structyage_1_1Texture.js b/structyage_1_1Texture.js new file mode 100644 index 00000000..3be5b905 --- /dev/null +++ b/structyage_1_1Texture.js @@ -0,0 +1,6 @@ +var structyage_1_1Texture = +[ + [ "height", "structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e", null ], + [ "id", "structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968", null ], + [ "width", "structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598", null ] +]; \ No newline at end of file diff --git a/structyage_1_1UV-members.html b/structyage_1_1UV-members.html new file mode 100644 index 00000000..317b6bee --- /dev/null +++ b/structyage_1_1UV-members.html @@ -0,0 +1,106 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::UV Member List
+
+
+ +

This is the complete list of members for yage::UV, including all inherited members.

+ + + + + +
uyage::UV
UV()=defaultyage::UV
UV(float u_, float v_)yage::UVinline
vyage::UV
+
+ + + + diff --git a/structyage_1_1UV.html b/structyage_1_1UV.html new file mode 100644 index 00000000..d50c7953 --- /dev/null +++ b/structyage_1_1UV.html @@ -0,0 +1,215 @@ + + + + + + + +YAGE: yage::UV Struct Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::UV Struct Reference
+
+
+ +

#include <vertex.hpp>

+ + + + + + +

+Public Member Functions

 UV ()=default
 
 UV (float u_, float v_)
 
+ + + + + +

+Public Attributes

float u
 
float v
 
+

Constructor & Destructor Documentation

+ +

◆ UV() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
yage::UV::UV ()
+
+default
+
+ +
+
+ +

◆ UV() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
yage::UV::UV (float u_,
float v_ 
)
+
+inline
+
+ +
+
+

Member Data Documentation

+ +

◆ u

+ +
+
+ + + + +
float yage::UV::u
+
+ +
+
+ +

◆ v

+ +
+
+ + + + +
float yage::UV::v
+
+ +
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/structyage_1_1UV.js b/structyage_1_1UV.js new file mode 100644 index 00000000..e59172db --- /dev/null +++ b/structyage_1_1UV.js @@ -0,0 +1,7 @@ +var structyage_1_1UV = +[ + [ "UV", "structyage_1_1UV.html#ae236139f3a5f6024aac1e21bd93b7bde", null ], + [ "UV", "structyage_1_1UV.html#ac918524789292937aae5803df3c2673f", null ], + [ "u", "structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053", null ], + [ "v", "structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793", null ] +]; \ No newline at end of file diff --git a/structyage_1_1Vertex-members.html b/structyage_1_1Vertex-members.html new file mode 100644 index 00000000..a83db7ef --- /dev/null +++ b/structyage_1_1Vertex-members.html @@ -0,0 +1,110 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::Vertex Member List
+
+
+ +

This is the complete list of members for yage::Vertex, including all inherited members.

+ + + + + + + + + +
coloryage::Vertex
positionyage::Vertex
setColor(GLubyte r, GLubyte g, GLubyte b, GLubyte a)yage::Vertexinline
setPosition(float x, float y)yage::Vertexinline
setUv(float u, float v)yage::Vertexinline
uvyage::Vertex
Vertex()=defaultyage::Vertex
Vertex(const Position &position_, const Color &color_, const UV &uv_)yage::Vertexinline
+
+ + + + diff --git a/structyage_1_1Vertex.html b/structyage_1_1Vertex.html new file mode 100644 index 00000000..2112d288 --- /dev/null +++ b/structyage_1_1Vertex.html @@ -0,0 +1,364 @@ + + + + + + + +YAGE: yage::Vertex Struct Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::Vertex Struct Reference
+
+
+ +

#include <vertex.hpp>

+ + + + + + + + + + + + +

+Public Member Functions

 Vertex ()=default
 
 Vertex (const Position &position_, const Color &color_, const UV &uv_)
 
void setPosition (float x, float y)
 
void setColor (GLubyte r, GLubyte g, GLubyte b, GLubyte a)
 
void setUv (float u, float v)
 
+ + + + + + + +

+Public Attributes

Position position
 
Color color
 
UV uv
 
+

Constructor & Destructor Documentation

+ +

◆ Vertex() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
yage::Vertex::Vertex ()
+
+default
+
+ +
+
+ +

◆ Vertex() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
yage::Vertex::Vertex (const Positionposition_,
const Colorcolor_,
const UVuv_ 
)
+
+inline
+
+ +
+
+

Member Function Documentation

+ +

◆ setColor()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void yage::Vertex::setColor (GLubyte r,
GLubyte g,
GLubyte b,
GLubyte a 
)
+
+inline
+
+ +
+
+ +

◆ setPosition()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void yage::Vertex::setPosition (float x,
float y 
)
+
+inline
+
+ +
+
+ +

◆ setUv()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void yage::Vertex::setUv (float u,
float v 
)
+
+inline
+
+ +
+
+

Member Data Documentation

+ +

◆ color

+ +
+
+ + + + +
Color yage::Vertex::color
+
+ +
+
+ +

◆ position

+ +
+
+ + + + +
Position yage::Vertex::position
+
+ +
+
+ +

◆ uv

+ +
+
+ + + + +
UV yage::Vertex::uv
+
+ +
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/structyage_1_1Vertex.js b/structyage_1_1Vertex.js new file mode 100644 index 00000000..04c6d9f2 --- /dev/null +++ b/structyage_1_1Vertex.js @@ -0,0 +1,11 @@ +var structyage_1_1Vertex = +[ + [ "Vertex", "structyage_1_1Vertex.html#acae9697c2762e37dfa4472b85fa112c3", null ], + [ "Vertex", "structyage_1_1Vertex.html#ab2826fb0ec9c48aad0056250dfa9cc2e", null ], + [ "setColor", "structyage_1_1Vertex.html#a0dc5fa6c669b4c10a8d56702f2aa9b50", null ], + [ "setPosition", "structyage_1_1Vertex.html#af392248f0be173221ebcc62d490fe03d", null ], + [ "setUv", "structyage_1_1Vertex.html#aa1fa8f5ebd883068828466cc924d4c50", null ], + [ "color", "structyage_1_1Vertex.html#aaa2cdca3a1186c57f1c75cee34ec3144", null ], + [ "position", "structyage_1_1Vertex.html#abefe88d26b055655f9cc038a1dd4ff6a", null ], + [ "uv", "structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e", null ] +]; \ No newline at end of file diff --git a/texture_8hpp.html b/texture_8hpp.html new file mode 100644 index 00000000..2c62f73b --- /dev/null +++ b/texture_8hpp.html @@ -0,0 +1,118 @@ + + + + + + + +YAGE: include/YAGE/texture.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
texture.hpp File Reference
+
+
+
#include <GL/glew.h>
+
+

Go to the source code of this file.

+ + + + +

+Classes

struct  yage::Texture
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/texture_8hpp_source.html b/texture_8hpp_source.html index 399f1145..5a97ac9f 100644 --- a/texture_8hpp_source.html +++ b/texture_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
texture.hpp
-
1 /* ----------------------------------------------------------------------------
2  * texture.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef GL_TEXTURE_HPP
10 #define GL_TEXTURE_HPP
11 
12 #include <GL/glew.h>
13 
14 namespace yage {
15 
16 struct Texture {
17  GLuint id;
18  int width;
19  int height;
20 };
21 
22 } // yage
23 
24 #endif
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * texture.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef GL_TEXTURE_HPP
10 #define GL_TEXTURE_HPP
11 
12 #include <GL/glew.h>
13 
14 namespace yage {
15 
16 struct Texture {
17  GLuint id;
18  int width;
19  int height;
20 };
21 
22 } // yage
23 
24 #endif
int height
Definition: texture.hpp:19
+
Definition: texture.hpp:16
+
int width
Definition: texture.hpp:18
+
Templated matrix class.
Definition: camera2d.hpp:17
+
GLuint id
Definition: texture.hpp:17
+
- + diff --git a/texturecache_8cpp.html b/texturecache_8cpp.html new file mode 100644 index 00000000..8c9b75e1 --- /dev/null +++ b/texturecache_8cpp.html @@ -0,0 +1,111 @@ + + + + + + + +YAGE: src/texturecache.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
texturecache.cpp File Reference
+
+
+
#include "imageloader.hpp"
+#include "texturecache.hpp"
+
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/texturecache_8hpp.html b/texturecache_8hpp.html new file mode 100644 index 00000000..d954e3ce --- /dev/null +++ b/texturecache_8hpp.html @@ -0,0 +1,119 @@ + + + + + + + +YAGE: include/YAGE/texturecache.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
texturecache.hpp File Reference
+
+
+
#include "texture.hpp"
+#include <unordered_map>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::TextureCache
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/texturecache_8hpp_source.html b/texturecache_8hpp_source.html index a6071900..53f01ebe 100644 --- a/texturecache_8hpp_source.html +++ b/texturecache_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
texturecache.hpp
-
1 /* ----------------------------------------------------------------------------
2  * texturecache.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef TEXTURE_CACHE_HPP
10 #define TEXTURE_CACHE_HPP
11 
12 #include "texture.hpp"
13 
14 #include <unordered_map>
15 
16 namespace yage {
17 
18 class TextureCache {
19 private:
20  std::unordered_map<std::string, Texture> texture_map_;
21 
22 public:
23  TextureCache();
24 
25  Texture getTexture(const std::string& texture_path);
26 };
27 
28 } // yage
29 
30 #endif
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * texturecache.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef TEXTURE_CACHE_HPP
10 #define TEXTURE_CACHE_HPP
11 
12 #include "texture.hpp"
13 
14 #include <unordered_map>
15 
16 namespace yage {
17 
18 class TextureCache {
19 private:
20  std::unordered_map<std::string, Texture> texture_map_;
21 
22 public:
23  TextureCache();
24 
25  Texture getTexture(const std::string& texture_path);
26 };
27 
28 } // yage
29 
30 #endif
Texture getTexture(const std::string &texture_path)
Definition: texturecache.cpp:18
+
std::unordered_map< std::string, Texture > texture_map_
Definition: texturecache.hpp:20
+ +
Definition: texture.hpp:16
+
Definition: texturecache.hpp:18
+
Templated matrix class.
Definition: camera2d.hpp:17
+
+
- + diff --git a/vertex_8hpp.html b/vertex_8hpp.html new file mode 100644 index 00000000..7a537457 --- /dev/null +++ b/vertex_8hpp.html @@ -0,0 +1,124 @@ + + + + + + + +YAGE: include/YAGE/vertex.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
vertex.hpp File Reference
+
+
+
#include <GL/glew.h>
+
+

Go to the source code of this file.

+ + + + + + + + + + +

+Classes

struct  yage::Position
 
struct  yage::Color
 
struct  yage::UV
 
struct  yage::Vertex
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/vertex_8hpp_source.html b/vertex_8hpp_source.html index 7bd0555a..aafd693e 100644 --- a/vertex_8hpp_source.html +++ b/vertex_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
vertex.hpp
-
1 /* ----------------------------------------------------------------------------
2  * vertex.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef VERTEX_HPP
10 #define VERTEX_HPP
11 
12 #include <GL/glew.h>
13 
14 namespace yage {
15 
16 struct Position {
17  float x;
18  float y;
19 
20  Position() {}
21 
22  Position(float x_, float y_) : x(x_), y(y_) {}
23 };
24 
25 struct Color {
26  GLubyte r;
27  GLubyte g;
28  GLubyte b;
29  GLubyte a;
30 
31  Color() {}
32 
33  Color(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)
34  : r(r_), g(g_), b(b_), a(a_) {}
35 };
36 
37 struct UV {
38  float u;
39  float v;
40 
41  UV() {}
42 
43  UV(float u_, float v_) : u(u_), v(v_) {}
44 };
45 
46 struct Vertex {
47  Position position;
48  Color color;
49  UV uv;
50 
51  Vertex() {}
52 
53  Vertex(const Position& position_, const Color& color_, const UV& uv_)
54  : position(position_), color(color_), uv(uv_) {}
55 
56  void setPosition(float x, float y) {
57  position.x = x;
58  position.y = y;
59  }
60 
61  void setColor(GLubyte r, GLubyte g, GLubyte b, GLubyte a) {
62  color.r = r;
63  color.g = g;
64  color.b = b;
65  color.a = a;
66  }
67 
68  void setUv(float u, float v) {
69  uv.u = u;
70  uv.v = v;
71  }
72 };
73 
74 } // yage
75 
76 #endif
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * vertex.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef VERTEX_HPP
10 #define VERTEX_HPP
11 
12 #include <GL/glew.h>
13 
14 namespace yage {
15 
16 struct Position {
17  float x;
18  float y;
19 
20  Position() = default;
21 
22  Position(float x_, float y_) : x(x_), y(y_) {}
23 };
24 
25 struct Color {
26  GLubyte r;
27  GLubyte g;
28  GLubyte b;
29  GLubyte a;
30 
31  Color() = default;
32 
33  Color(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)
34  : r(r_), g(g_), b(b_), a(a_) {}
35 };
36 
37 struct UV {
38  float u;
39  float v;
40 
41  UV() = default;
42 
43  UV(float u_, float v_) : u(u_), v(v_) {}
44 };
45 
46 struct Vertex {
49  UV uv;
50 
51  Vertex() = default;
52 
53  Vertex(const Position& position_, const Color& color_, const UV& uv_)
54  : position(position_), color(color_), uv(uv_) {}
55 
56  void setPosition(float x, float y) {
57  position.x = x;
58  position.y = y;
59  }
60 
61  void setColor(GLubyte r, GLubyte g, GLubyte b, GLubyte a) {
62  color.r = r;
63  color.g = g;
64  color.b = b;
65  color.a = a;
66  }
67 
68  void setUv(float u, float v) {
69  uv.u = u;
70  uv.v = v;
71  }
72 };
73 
74 } // yage
75 
76 #endif
Position()=default
+
Definition: vertex.hpp:46
+
Position position
Definition: vertex.hpp:47
+
UV(float u_, float v_)
Definition: vertex.hpp:43
+
float v
Definition: vertex.hpp:39
+
void setColor(GLubyte r, GLubyte g, GLubyte b, GLubyte a)
Definition: vertex.hpp:61
+
float x
Definition: vertex.hpp:17
+
GLubyte g
Definition: vertex.hpp:27
+
float y
Definition: vertex.hpp:18
+
Color color
Definition: vertex.hpp:48
+
void setUv(float u, float v)
Definition: vertex.hpp:68
+
Color(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)
Definition: vertex.hpp:33
+
Position(float x_, float y_)
Definition: vertex.hpp:22
+
GLubyte r
Definition: vertex.hpp:26
+
Definition: vertex.hpp:37
+
void setPosition(float x, float y)
Definition: vertex.hpp:56
+
GLubyte b
Definition: vertex.hpp:28
+
Definition: vertex.hpp:16
+
Templated matrix class.
Definition: camera2d.hpp:17
+
UV uv
Definition: vertex.hpp:49
+
Vertex(const Position &position_, const Color &color_, const UV &uv_)
Definition: vertex.hpp:53
+
float u
Definition: vertex.hpp:38
+
GLubyte a
Definition: vertex.hpp:29
+
Definition: vertex.hpp:25
+
- + diff --git a/window_8cpp.html b/window_8cpp.html new file mode 100644 index 00000000..4c91baf7 --- /dev/null +++ b/window_8cpp.html @@ -0,0 +1,113 @@ + + + + + + + +YAGE: src/window.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
window.cpp File Reference
+
+
+
#include "window.hpp"
+#include <GL/glew.h>
+#include <iostream>
+#include <stdexcept>
+
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+
+
+ + + + diff --git a/window_8hpp.html b/window_8hpp.html new file mode 100644 index 00000000..d338afb2 --- /dev/null +++ b/window_8hpp.html @@ -0,0 +1,129 @@ + + + + + + + +YAGE: include/YAGE/window.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
window.hpp File Reference
+
+
+
#include <SDL2/SDL.h>
+#include <string>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::Window
 
+ + + + +

+Namespaces

 yage
 Templated matrix class.
 
+ + + +

+Enumerations

enum  yage::WindowFlags : unsigned { yage::SHOWN = 0x1, +yage::HIDDEN = 0x2, +yage::FULLSCREEN = 0x4, +yage::BORDERLESS = 0x8 + }
 
+
+
+ + + + diff --git a/window_8hpp.js b/window_8hpp.js new file mode 100644 index 00000000..886683f4 --- /dev/null +++ b/window_8hpp.js @@ -0,0 +1,10 @@ +var window_8hpp = +[ + [ "Window", "classyage_1_1Window.html", "classyage_1_1Window" ], + [ "WindowFlags", "window_8hpp.html#a09d41deeced5fca5df9dc680c9e77c38", [ + [ "SHOWN", "window_8hpp.html#a09d41deeced5fca5df9dc680c9e77c38a7c4273d3feb1dc60a55a74c37c3fddd6", null ], + [ "HIDDEN", "window_8hpp.html#a09d41deeced5fca5df9dc680c9e77c38af7a4d995b268c416a6e01b8dc1555648", null ], + [ "FULLSCREEN", "window_8hpp.html#a09d41deeced5fca5df9dc680c9e77c38a409ae568f380139ffa38d7fffa5ffb2f", null ], + [ "BORDERLESS", "window_8hpp.html#a09d41deeced5fca5df9dc680c9e77c38afa8ece0eef17c604369ca69bc4b09970", null ] + ] ] +]; \ No newline at end of file diff --git a/window_8hpp_source.html b/window_8hpp_source.html index f437dfce..9351d22d 100644 --- a/window_8hpp_source.html +++ b/window_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
window.hpp
-
1 /* ----------------------------------------------------------------------------
2  * window.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef WINDOW_HPP
10 #define WINDOW_HPP
11 
12 #include <SDL2/SDL.h>
13 
14 #include <string>
15 
16 namespace yage {
17 
18 // window flags that can change it's appearance
19 enum WindowFlags : unsigned {
20  SHOWN = 0x1,
21  HIDDEN = 0x2,
22  FULLSCREEN = 0x4,
23  BORDERLESS = 0x8,
24 };
25 
26 // window wrapper around SDL_Window pointer
27 class Window {
28 private:
30  SDL_Window* window_ = nullptr;
31 
32 public:
33  Window();
34  Window(const Window&) = delete;
35  Window(Window&&) = delete;
37  ~Window();
38 
39  Window& operator=(const Window&) = delete;
40  Window& operator=(Window&&) = delete;
41 
43  void create(const std::string& window_name, int width, int height,
44  unsigned flags = WindowFlags::SHOWN);
46  void swapBuffer();
48  void clearBuffer();
49 };
50 
51 } // namespace yage
52 
53 #endif
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * window.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef WINDOW_HPP
10 #define WINDOW_HPP
11 
12 #include <SDL2/SDL.h>
13 
14 #include <string>
15 
16 namespace yage {
17 
18 // window flags that can change it's appearance
19 enum WindowFlags : unsigned {
20  SHOWN = 0x1,
21  HIDDEN = 0x2,
22  FULLSCREEN = 0x4,
23  BORDERLESS = 0x8,
24 };
25 
26 // window wrapper around SDL_Window pointer
27 class Window {
28 private:
30  SDL_Window* window_ = nullptr;
31 
32 public:
33  Window();
34  Window(const Window&) = delete;
35  Window(Window&&) = delete;
37  ~Window();
38 
39  Window& operator=(const Window&) = delete;
40  Window& operator=(Window&&) = delete;
41 
43  void create(const std::string& window_name, int width, int height,
44  unsigned flags = WindowFlags::SHOWN);
46  void swapBuffer();
48  void clearBuffer();
49 };
50 
51 } // namespace yage
52 
53 #endif
Definition: window.hpp:21
+ +
void swapBuffer()
swap the buffer
Definition: window.cpp:68
+
Definition: window.hpp:27
+
void create(const std::string &window_name, int width, int height, unsigned flags=WindowFlags::SHOWN)
create the window, initialize the handle and update the width and height
Definition: window.cpp:22
+
Definition: window.hpp:22
+
WindowFlags
Definition: window.hpp:19
+
SDL_Window * window_
window handle
Definition: window.hpp:30
+
~Window()
destroys the window handle
Definition: window.cpp:20
+
Definition: window.hpp:20
+
void clearBuffer()
clear buffer
Definition: window.cpp:73
+
Templated matrix class.
Definition: camera2d.hpp:17
+
Window & operator=(const Window &)=delete
+
Definition: window.hpp:23
+
- + diff --git a/windowtest_8cpp.html b/windowtest_8cpp.html new file mode 100644 index 00000000..c17d0703 --- /dev/null +++ b/windowtest_8cpp.html @@ -0,0 +1,169 @@ + + + + + + + +YAGE: test/windowtest.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
windowtest.cpp File Reference
+
+
+
#include "gtest/gtest.h"
+#include "yage.hpp"
+
+ + + + + +

+Functions

 TEST (Window, Open)
 
int main (int argc, char **argv)
 
+

Function Documentation

+ +

◆ main()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int argc,
char ** argv 
)
+
+ +
+
+ +

◆ TEST()

+ +
+
+ + + + + + + + + + + + + + + + + + +
TEST (Window ,
Open  
)
+
+ +
+
+
+
+ + + + diff --git a/windowtest_8cpp.js b/windowtest_8cpp.js new file mode 100644 index 00000000..6b4006c7 --- /dev/null +++ b/windowtest_8cpp.js @@ -0,0 +1,5 @@ +var windowtest_8cpp = +[ + [ "main", "windowtest_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627", null ], + [ "TEST", "windowtest_8cpp.html#a863a0cf6145219a8c3cb62e9e7c53d48", null ] +]; \ No newline at end of file diff --git a/yage_8hpp.html b/yage_8hpp.html new file mode 100644 index 00000000..ac3c44e6 --- /dev/null +++ b/yage_8hpp.html @@ -0,0 +1,132 @@ + + + + + + + +YAGE: include/YAGE/yage.hpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage.hpp File Reference
+
+
+
#include "camera2d.hpp"
+#include "glslprogram.hpp"
+#include "imageloader.hpp"
+#include "inputmanager.hpp"
+#include "iomanager.hpp"
+#include "picopng.hpp"
+#include "resourcemanager.hpp"
+#include "spritebatch.hpp"
+#include "texture.hpp"
+#include "vertex.hpp"
+#include "window.hpp"
+#include <SDL2/SDL.h>
+#include <stdexcept>
+
+

Go to the source code of this file.

+ + + + + +

+Namespaces

 yage
 Templated matrix class.
 
+ + + + + +

+Functions

bool yage::init ()
 
void yage::quit ()
 
+
+
+ + + + diff --git a/yage_8hpp.js b/yage_8hpp.js new file mode 100644 index 00000000..50ec92ec --- /dev/null +++ b/yage_8hpp.js @@ -0,0 +1,5 @@ +var yage_8hpp = +[ + [ "init", "yage_8hpp.html#a6aea783cb978923211e165efefec4a7b", null ], + [ "quit", "yage_8hpp.html#ac9d8c7327204686b3c86f4ab48672618", null ] +]; \ No newline at end of file diff --git a/yage_8hpp_source.html b/yage_8hpp_source.html index 45e6b27c..3e8ae797 100644 --- a/yage_8hpp_source.html +++ b/yage_8hpp_source.html @@ -9,6 +9,13 @@ + + + + + @@ -44,6 +51,21 @@ $(function() { }); + +
+ +
+
+
+ +
- -
yage.hpp
-
1 /* ----------------------------------------------------------------------------
2  * yage.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_HPP
10 #define YAGE_HPP
11 
12 #include "camera2d.hpp"
13 #include "glslprogram.hpp"
14 #include "imageloader.hpp"
15 #include "inputmanager.hpp"
16 #include "iomanager.hpp"
17 #include "picopng.hpp"
18 #include "resourcemanager.hpp"
19 #include "spritebatch.hpp"
20 #include "texture.hpp"
21 #include "vertex.hpp"
22 #include "window.hpp"
23 
24 #include <SDL2/SDL.h>
25 
26 #include <stdexcept>
27 
28 namespace yage {
29 
30 bool init() { return SDL_Init(SDL_INIT_VIDEO); }
31 void quit() { SDL_Quit(); }
32 
33 };
34 
35 #endif
Definition: camera2d.hpp:17
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * yage.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_HPP
10 #define YAGE_HPP
11 
12 #include "camera2d.hpp"
13 #include "glslprogram.hpp"
14 #include "imageloader.hpp"
15 #include "inputmanager.hpp"
16 #include "iomanager.hpp"
17 #include "picopng.hpp"
18 #include "resourcemanager.hpp"
19 #include "spritebatch.hpp"
20 #include "texture.hpp"
21 #include "vertex.hpp"
22 #include "window.hpp"
23 
24 #include <SDL2/SDL.h>
25 
26 #include <stdexcept>
27 
28 namespace yage {
29 
30 bool init() { return SDL_Init(SDL_INIT_VIDEO); }
31 void quit() { SDL_Quit(); }
32 
33 };
34 
35 #endif
+
bool init()
Definition: yage.hpp:30
+
void quit()
Definition: yage.hpp:31
+ + + + + + + + + +
Templated matrix class.
Definition: camera2d.hpp:17
+
+
- + diff --git a/yagetest_8cpp.html b/yagetest_8cpp.html new file mode 100644 index 00000000..84a0177a --- /dev/null +++ b/yagetest_8cpp.html @@ -0,0 +1,169 @@ + + + + + + + +YAGE: test/yagetest.cpp File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yagetest.cpp File Reference
+
+
+
#include "gtest/gtest.h"
+#include "yage.hpp"
+
+ + + + + +

+Functions

 TEST (YAGE, InitQuit)
 
int main (int argc, char **argv)
 
+

Function Documentation

+ +

◆ main()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int argc,
char ** argv 
)
+
+ +
+
+ +

◆ TEST()

+ +
+
+ + + + + + + + + + + + + + + + + + +
TEST (YAGE ,
InitQuit  
)
+
+ +
+
+
+
+ + + + diff --git a/yagetest_8cpp.js b/yagetest_8cpp.js new file mode 100644 index 00000000..c984fb93 --- /dev/null +++ b/yagetest_8cpp.js @@ -0,0 +1,5 @@ +var yagetest_8cpp = +[ + [ "main", "yagetest_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627", null ], + [ "TEST", "yagetest_8cpp.html#a4cfeec349f381f0c21ef755a97250676", null ] +]; \ No newline at end of file -- cgit