From 8ad8165816929301a87e90bbb32c3df6b69030ee Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 2 Sep 2017 12:28:11 +0100 Subject: Updating docs --- README_8md.html | 4 +- annotated.html | 6 +- body_8cpp.html | 10 +- body_8h.html | 118 +++++ body_8h_source.html | 117 +++++ body_8hpp.html | 6 +- body_8hpp_source.html | 12 +- bug.html | 103 ++++ camera2d_8cpp.html | 8 +- camera2d_8h.html | 120 +++++ camera2d_8h_source.html | 112 +++++ camera2d_8hpp.html | 6 +- camera2d_8hpp_source.html | 8 +- classMatrix.html | 109 +++++ classes.html | 4 +- classyage_1_1Body-members.html | 4 +- classyage_1_1Body.html | 8 +- classyage_1_1Camera2D-members.html | 16 +- classyage_1_1Camera2D.html | 36 +- classyage_1_1Camera2D.js | 4 +- classyage_1_1Collider-members.html | 4 +- classyage_1_1Collider.html | 8 +- classyage_1_1CollisionBody-members.html | 4 +- classyage_1_1CollisionBody.html | 8 +- classyage_1_1GlslProgram-members.html | 4 +- classyage_1_1GlslProgram.html | 8 +- classyage_1_1Glyph-members.html | 4 +- classyage_1_1Glyph.html | 8 +- classyage_1_1ImageLoader-members.html | 4 +- classyage_1_1ImageLoader.html | 8 +- classyage_1_1InputManager-members.html | 4 +- classyage_1_1InputManager.html | 8 +- classyage_1_1IoManager-members.html | 4 +- classyage_1_1IoManager.html | 8 +- classyage_1_1Matrix-members.html | 4 +- classyage_1_1Matrix.html | 41 +- classyage_1_1ParticleBody-members.html | 4 +- classyage_1_1ParticleBody.html | 8 +- classyage_1_1RectangleCollider-members.html | 4 +- classyage_1_1RectangleCollider.html | 8 +- classyage_1_1RenderBatch-members.html | 4 +- classyage_1_1RenderBatch.html | 8 +- classyage_1_1ResourceManager-members.html | 4 +- classyage_1_1ResourceManager.html | 8 +- classyage_1_1RigidBody-members.html | 4 +- classyage_1_1RigidBody.html | 8 +- classyage_1_1Sprite-members.html | 4 +- classyage_1_1Sprite.html | 8 +- classyage_1_1SpriteBatch-members.html | 4 +- classyage_1_1SpriteBatch.html | 8 +- classyage_1_1TextureCache-members.html | 4 +- classyage_1_1TextureCache.html | 8 +- classyage_1_1Vector-members.html | 4 +- classyage_1_1Vector.html | 18 +- classyage_1_1Vector2-members.html | 4 +- classyage_1_1Vector2.html | 17 +- classyage_1_1Window-members.html | 4 +- classyage_1_1Window.html | 8 +- classyage_1_1detail_1_1Row-members.html | 4 +- classyage_1_1detail_1_1Row.html | 8 +- classyage_1_1math_1_1Matrix-members.html | 117 +++++ classyage_1_1math_1_1Matrix.html | 602 ++++++++++++++++++++++++ classyage_1_1math_1_1Matrix.js | 18 + classyage_1_1math_1_1Vector-members.html | 119 +++++ classyage_1_1math_1_1Vector.html | 344 ++++++++++++++ classyage_1_1math_1_1Vector.js | 9 + classyage_1_1math_1_1Vector.png | Bin 0 -> 889 bytes classyage_1_1math_1_1Vector2-members.html | 127 +++++ classyage_1_1math_1_1Vector2.html | 430 +++++++++++++++++ classyage_1_1math_1_1Vector2.js | 11 + classyage_1_1math_1_1Vector2.png | Bin 0 -> 1243 bytes classyage_1_1math_1_1detail_1_1Row-members.html | 107 +++++ classyage_1_1math_1_1detail_1_1Row.html | 271 +++++++++++ classyage_1_1math_1_1detail_1_1Row.js | 8 + collider_8h.html | 118 +++++ collider_8h_source.html | 107 +++++ collider_8hpp.html | 6 +- collider_8hpp_source.html | 6 +- collisionbody_8h.html | 118 +++++ collisionbody_8h_source.html | 106 +++++ collisionbody_8hpp.html | 6 +- collisionbody_8hpp_source.html | 6 +- dir_13e138d54eb8818da29c3992edef070a.html | 112 ----- dir_13e138d54eb8818da29c3992edef070a.js | 7 - dir_5ac3a90c14a160db9539610948ce4998.html | 8 +- dir_5ac3a90c14a160db9539610948ce4998.js | 4 +- dir_68267d1309a1af8e8297ef4c3efbcdba.html | 4 +- dir_b233a2caca2b45d5ef987dbbf49782d0.html | 18 +- dir_b233a2caca2b45d5ef987dbbf49782d0.js | 14 +- dir_d44c64559bbebec7f509842c48db8b23.html | 4 +- dir_f562165b51c585c003877be645f219b5.html | 32 +- dir_f562165b51c585c003877be645f219b5.js | 28 +- docs_2README_8md.html | 100 ---- files.html | 55 +-- files.js | 3 +- functions.html | 10 +- functions_func.html | 4 +- functions_rela.html | 4 +- functions_vars.html | 10 +- globals.html | 124 ----- globals_func.html | 124 ----- glslprogram_8cpp.html | 8 +- glslprogram_8h.html | 119 +++++ glslprogram_8h_source.html | 116 +++++ glslprogram_8hpp.html | 6 +- glslprogram_8hpp_source.html | 8 +- hierarchy.html | 4 +- imageloader_8cpp.html | 12 +- imageloader_8h.html | 119 +++++ imageloader_8h_source.html | 105 +++++ imageloader_8hpp.html | 6 +- imageloader_8hpp_source.html | 8 +- index.html | 20 +- inputmanager_8cpp.html | 8 +- inputmanager_8h.html | 118 +++++ inputmanager_8h_source.html | 106 +++++ inputmanager_8hpp.html | 6 +- inputmanager_8hpp_source.html | 10 +- iomanager_8cpp.html | 8 +- iomanager_8h.html | 119 +++++ iomanager_8h_source.html | 103 ++++ iomanager_8hpp.html | 6 +- iomanager_8hpp_source.html | 8 +- math_8h.html | 103 ++++ math_8h_source.html | 101 ++++ math_8hpp.html | 4 +- math_8hpp_source.html | 4 +- matrix_8dox.html | 100 ++++ matrix_8h.html | 195 ++++++++ matrix_8h.js | 23 + matrix_8h_source.html | 136 ++++++ matrix_8hpp.html | 6 +- matrix_8hpp_source.html | 72 +-- matrixtest_8cpp.html | 354 -------------- matrixtest_8cpp.js | 11 - md_README.html | 108 ----- md_docs_README.html | 100 ---- menudata.js | 5 +- namespacemembers.html | 6 +- namespacemembers_enum.html | 4 +- namespacemembers_eval.html | 4 +- namespacemembers_func.html | 6 +- namespacemembers_type.html | 4 +- namespaces.html | 6 +- namespaceyage.html | 24 +- namespaceyage_1_1detail.html | 4 +- namespaceyage_1_1math.html | 513 ++++++++++++++++++++ namespaceyage_1_1math.js | 7 + namespaceyage_1_1math_1_1detail.html | 108 +++++ namespaceyage_1_1math_1_1detail.js | 4 + namespaceyage_1_1math_1_1matrix.html | 225 +++++++++ namespaceyage_1_1matrix.html | 15 +- navtreedata.js | 12 +- navtreeindex0.js | 102 ++-- navtreeindex1.js | 94 ++-- pages.html | 8 +- particlebody_8cpp.html | 8 +- particlebody_8h.html | 119 +++++ particlebody_8h_source.html | 110 +++++ particlebody_8hpp.html | 6 +- particlebody_8hpp_source.html | 12 +- particlebodytest_8cpp.html | 191 -------- particlebodytest_8cpp.js | 6 - physics_8h.html | 108 +++++ physics_8h_source.html | 106 +++++ physics_8hpp.html | 4 +- physics_8hpp_source.html | 4 +- picopng_8cpp.html | 10 +- picopng_8cpp.js | 2 +- picopng_8h.html | 119 +++++ picopng_8h.js | 4 + picopng_8h_source.html | 102 ++++ picopng_8hpp.html | 10 +- picopng_8hpp.js | 2 +- picopng_8hpp_source.html | 8 +- rectanglecollider_8cpp.html | 8 +- rectanglecollider_8h.html | 119 +++++ rectanglecollider_8h_source.html | 107 +++++ rectanglecollider_8hpp.html | 6 +- rectanglecollider_8hpp_source.html | 8 +- resourcemanager_8cpp.html | 8 +- resourcemanager_8h.html | 120 +++++ resourcemanager_8h_source.html | 108 +++++ resourcemanager_8hpp.html | 6 +- resourcemanager_8hpp_source.html | 8 +- rigidbody_8cpp.html | 8 +- rigidbody_8h.html | 119 +++++ rigidbody_8h_source.html | 107 +++++ rigidbody_8hpp.html | 6 +- rigidbody_8hpp_source.html | 10 +- search/all_1.js | 5 +- search/all_10.js | 8 +- search/all_11.js | 4 +- search/all_12.js | 6 +- search/all_13.js | 1 + search/all_14.js | 3 +- search/all_15.js | 5 +- search/all_17.js | 5 +- search/all_2.js | 6 +- search/all_3.js | 3 +- search/all_6.js | 5 +- search/all_8.js | 6 +- search/all_b.js | 11 +- search/all_e.js | 7 +- search/files_0.js | 2 +- search/files_1.js | 6 +- search/files_2.js | 2 +- search/files_3.js | 6 +- search/files_4.js | 6 +- search/files_5.js | 7 +- search/files_6.js | 8 +- search/files_7.js | 4 +- search/files_8.js | 4 +- search/files_9.js | 2 +- search/files_a.js | 3 +- search/files_b.js | 3 +- search/functions_10.js | 1 - search/functions_12.js | 1 - search/functions_3.js | 2 +- search/functions_5.js | 3 +- search/functions_9.js | 4 - search/pages_0.js | 2 +- search/pages_1.js | 2 +- search/pages_2.html | 26 + search/pages_2.js | 4 + search/searchdata.js | 2 +- search/variables_10.js | 1 + search/variables_9.js | 3 +- sprite_8cpp.html | 12 +- sprite_8h.html | 120 +++++ sprite_8h_source.html | 115 +++++ sprite_8hpp.html | 6 +- sprite_8hpp_source.html | 8 +- spritebatch_8cpp.html | 8 +- spritebatch_8h.html | 126 +++++ spritebatch_8h_source.html | 131 ++++++ spritebatch_8hpp.html | 6 +- spritebatch_8hpp_source.html | 8 +- structyage_1_1Color-members.html | 4 +- structyage_1_1Color.html | 8 +- structyage_1_1Position-members.html | 4 +- structyage_1_1Position.html | 8 +- structyage_1_1Texture-members.html | 4 +- structyage_1_1Texture.html | 8 +- structyage_1_1UV-members.html | 4 +- structyage_1_1UV.html | 8 +- structyage_1_1Vertex-members.html | 4 +- structyage_1_1Vertex.html | 8 +- texture_8h.html | 118 +++++ texture_8h_source.html | 105 +++++ texture_8hpp.html | 6 +- texture_8hpp_source.html | 8 +- texturecache_8cpp.html | 10 +- texturecache_8h.html | 119 +++++ texturecache_8h_source.html | 107 +++++ texturecache_8hpp.html | 6 +- texturecache_8hpp_source.html | 8 +- todo.html | 103 ++++ vertex_8h.html | 124 +++++ vertex_8h_source.html | 124 +++++ vertex_8hpp.html | 6 +- vertex_8hpp_source.html | 8 +- window_8cpp.html | 8 +- window_8h.html | 129 +++++ window_8h.js | 10 + window_8h_source.html | 114 +++++ window_8hpp.html | 6 +- window_8hpp_source.html | 12 +- windowtest_8cpp.html | 169 ------- windowtest_8cpp.js | 5 - yage_8h.html | 134 ++++++ yage_8h.js | 5 + yage_8h_source.html | 114 +++++ yage_8hpp.html | 8 +- yage_8hpp_source.html | 12 +- yagetest_8cpp.html | 169 ------- yagetest_8cpp.js | 5 - 277 files changed, 9695 insertions(+), 2410 deletions(-) create mode 100644 body_8h.html create mode 100644 body_8h_source.html create mode 100644 bug.html create mode 100644 camera2d_8h.html create mode 100644 camera2d_8h_source.html create mode 100644 classMatrix.html create mode 100644 classyage_1_1math_1_1Matrix-members.html create mode 100644 classyage_1_1math_1_1Matrix.html create mode 100644 classyage_1_1math_1_1Matrix.js create mode 100644 classyage_1_1math_1_1Vector-members.html create mode 100644 classyage_1_1math_1_1Vector.html create mode 100644 classyage_1_1math_1_1Vector.js create mode 100644 classyage_1_1math_1_1Vector.png create mode 100644 classyage_1_1math_1_1Vector2-members.html create mode 100644 classyage_1_1math_1_1Vector2.html create mode 100644 classyage_1_1math_1_1Vector2.js create mode 100644 classyage_1_1math_1_1Vector2.png create mode 100644 classyage_1_1math_1_1detail_1_1Row-members.html create mode 100644 classyage_1_1math_1_1detail_1_1Row.html create mode 100644 classyage_1_1math_1_1detail_1_1Row.js create mode 100644 collider_8h.html create mode 100644 collider_8h_source.html create mode 100644 collisionbody_8h.html create mode 100644 collisionbody_8h_source.html delete mode 100644 dir_13e138d54eb8818da29c3992edef070a.html delete mode 100644 dir_13e138d54eb8818da29c3992edef070a.js delete mode 100644 docs_2README_8md.html delete mode 100644 globals.html delete mode 100644 globals_func.html create mode 100644 glslprogram_8h.html create mode 100644 glslprogram_8h_source.html create mode 100644 imageloader_8h.html create mode 100644 imageloader_8h_source.html create mode 100644 inputmanager_8h.html create mode 100644 inputmanager_8h_source.html create mode 100644 iomanager_8h.html create mode 100644 iomanager_8h_source.html create mode 100644 math_8h.html create mode 100644 math_8h_source.html create mode 100644 matrix_8dox.html create mode 100644 matrix_8h.html create mode 100644 matrix_8h.js create mode 100644 matrix_8h_source.html delete mode 100644 matrixtest_8cpp.html delete mode 100644 matrixtest_8cpp.js delete mode 100644 md_README.html delete mode 100644 md_docs_README.html create mode 100644 namespaceyage_1_1math.html create mode 100644 namespaceyage_1_1math.js create mode 100644 namespaceyage_1_1math_1_1detail.html create mode 100644 namespaceyage_1_1math_1_1detail.js create mode 100644 namespaceyage_1_1math_1_1matrix.html create mode 100644 particlebody_8h.html create mode 100644 particlebody_8h_source.html delete mode 100644 particlebodytest_8cpp.html delete mode 100644 particlebodytest_8cpp.js create mode 100644 physics_8h.html create mode 100644 physics_8h_source.html create mode 100644 picopng_8h.html create mode 100644 picopng_8h.js create mode 100644 picopng_8h_source.html create mode 100644 rectanglecollider_8h.html create mode 100644 rectanglecollider_8h_source.html create mode 100644 resourcemanager_8h.html create mode 100644 resourcemanager_8h_source.html create mode 100644 rigidbody_8h.html create mode 100644 rigidbody_8h_source.html create mode 100644 search/pages_2.html create mode 100644 search/pages_2.js create mode 100644 sprite_8h.html create mode 100644 sprite_8h_source.html create mode 100644 spritebatch_8h.html create mode 100644 spritebatch_8h_source.html create mode 100644 texture_8h.html create mode 100644 texture_8h_source.html create mode 100644 texturecache_8h.html create mode 100644 texturecache_8h_source.html create mode 100644 todo.html create mode 100644 vertex_8h.html create mode 100644 vertex_8h_source.html create mode 100644 window_8h.html create mode 100644 window_8h.js create mode 100644 window_8h_source.html delete mode 100644 windowtest_8cpp.html delete mode 100644 windowtest_8cpp.js create mode 100644 yage_8h.html create mode 100644 yage_8h.js create mode 100644 yage_8h_source.html delete mode 100644 yagetest_8cpp.html delete mode 100644 yagetest_8cpp.js diff --git a/README_8md.html b/README_8md.html index e322307b..c7e80b81 100644 --- a/README_8md.html +++ b/README_8md.html @@ -29,7 +29,7 @@
YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
@@ -91,7 +91,7 @@ $(document).ready(function(){initNavTree('README_8md.html','');}); @@ -108,7 +108,7 @@ $(document).ready(function(){initNavTree('body_8hpp_source.html','');});
-
#include "camera2d.hpp"
+
#include <YAGE/camera2d.h>
#include <GL/glew.h>
- +

Namespaces

 yage
 Templated matrix class.
 Project namespace.
 
@@ -102,7 +102,7 @@ Namespaces @@ -111,7 +111,7 @@ Namespaces
-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 
20 class Camera2D
21 {
22 private:
23  bool matrix_needs_update_ = true;
24  float scale_ = 1;
25  glm::vec2 position_;
26  glm::mat4 camera_matrix_;
27  glm::mat4 ortho_matrix_;
28 
29 public:
30  Camera2D(int screen_width = 1280, int screen_height = 720);
31 
32  // update camera location
33  void update(GlslProgram &program);
34  // camera movement
35  void move(const glm::vec2 &direction);
36 };
37 
38 } // yage
39 
40 #endif
glm::mat4 ortho_matrix_
Definition: camera2d.hpp:27
+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 
20 class Camera2D
21 {
22 private:
23  bool matrix_needs_update_ = true;
24  float scale_ = 1;
25  glm::vec2 position_;
26  glm::mat4 camera_matrix_;
27  glm::mat4 ortho_matrix_;
28 
29 public:
30  Camera2D(int screen_width = 1280, int screen_height = 720);
31 
32  // update camera location
33  void update(GlslProgram &program);
34  // camera movement
35  void move(const glm::vec2 &direction);
36 };
37 
38 } // namespace yage
39 
40 #endif
glm::mat4 ortho_matrix_
Definition: camera2d.hpp:27
float scale_
Definition: camera2d.hpp:24
bool matrix_needs_update_
Definition: camera2d.hpp:23
glm::mat4 camera_matrix_
Definition: camera2d.hpp:26
@@ -94,7 +94,7 @@ $(document).ready(function(){initNavTree('camera2d_8hpp_source.html','');});
glm::vec2 position_
Definition: camera2d.hpp:25
Definition: camera2d.hpp:20
-
Templated matrix class.
Definition: camera2d.hpp:17
+
Project namespace.
Definition: body.cpp:13
void move(const glm::vec2 &direction)
Definition: camera2d.cpp:39
Camera2D(int screen_width=1280, int screen_height=720)
Definition: camera2d.cpp:16
@@ -103,7 +103,7 @@ $(document).ready(function(){initNavTree('camera2d_8hpp_source.html','');});
-

#include <camera2d.hpp>

+

#include <camera2d.h>

@@ -103,8 +103,8 @@ Public Member Functions

Public Member Functions

- - + + @@ -203,8 +203,8 @@ Private Attributes - -

◆ matrix_needs_update_

+ +

◆ ortho_matrix_

@@ -213,7 +213,7 @@ Private Attributes
@@ -225,8 +225,8 @@ Private Attributes - -

◆ ortho_matrix_

+ +

◆ position_

@@ -235,7 +235,7 @@ Private Attributes
@@ -247,8 +247,8 @@ Private Attributes - -

◆ position_

+ +

◆ scale_

@@ -257,7 +257,7 @@ Private Attributes
@@ -269,8 +269,8 @@ Private Attributes - -

◆ scale_

+ +

◆ update_matrix_

@@ -279,7 +279,7 @@ Private Attributes
@@ -292,7 +292,7 @@ Private Attributes
The documentation for this class was generated from the following files: @@ -301,7 +301,7 @@ Private Attributes @@ -98,7 +98,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Collider.html','');}); @@ -90,7 +90,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Collider.html','');});
-

#include <collider.hpp>

+

#include <collider.h>

Inheritance diagram for yage::Collider:
@@ -257,7 +257,7 @@ Protected Attributes

The documentation for this class was generated from the following file: @@ -265,7 +265,7 @@ Protected Attributes @@ -107,7 +107,7 @@ $(document).ready(function(){initNavTree('classyage_1_1CollisionBody.html','');} @@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('classyage_1_1CollisionBody.html','');}
-

#include <collisionbody.hpp>

+

#include <collisionbody.h>

Inheritance diagram for yage::CollisionBody:
@@ -182,7 +182,7 @@ Additional Inherited Members

The documentation for this class was generated from the following file: @@ -190,7 +190,7 @@ Additional Inherited Members @@ -110,7 +110,7 @@ $(document).ready(function(){initNavTree('classyage_1_1GlslProgram.html','');}); @@ -91,7 +91,7 @@ $(document).ready(function(){initNavTree('classyage_1_1GlslProgram.html','');});
-

#include <glslprogram.hpp>

+

#include <glslprogram.h>

Private Attributes

bool matrix_needs_update_ = true
 
bool update_matrix_ = true
 
float scale_ = 1
 
glm::vec2 position_
- +
bool yage::Camera2D::matrix_needs_update_ = trueglm::mat4 yage::Camera2D::ortho_matrix_
- +
glm::mat4 yage::Camera2D::ortho_matrix_glm::vec2 yage::Camera2D::position_
- +
glm::vec2 yage::Camera2D::position_float yage::Camera2D::scale_ = 1
- +
float yage::Camera2D::scale_ = 1bool yage::Camera2D::update_matrix_ = true
YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
@@ -528,7 +528,7 @@ Private Attributes
The documentation for this class was generated from the following files: @@ -537,7 +537,7 @@ Private Attributes @@ -106,7 +106,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Glyph.html','');}); @@ -93,7 +93,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Glyph.html','');});

Glyph with information of the texture.

-

#include <spritebatch.hpp>

+

#include <spritebatch.h>

Public Member Functions

YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
@@ -465,7 +465,7 @@ Private Attributes
The documentation for this class was generated from the following files: @@ -474,7 +474,7 @@ Private Attributes @@ -94,7 +94,7 @@ $(document).ready(function(){initNavTree('classyage_1_1ImageLoader.html','');}); @@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('classyage_1_1ImageLoader.html','');});
-

#include <imageloader.hpp>

+

#include <imageloader.h>

Public Member Functions

YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
@@ -124,7 +124,7 @@ Static Public Member Functions
The documentation for this class was generated from the following files: @@ -133,7 +133,7 @@ Static Public Member Functions @@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('classyage_1_1InputManager.html','');}) @@ -90,7 +90,7 @@ $(document).ready(function(){initNavTree('classyage_1_1InputManager.html','');})
-

#include <inputmanager.hpp>

+

#include <inputmanager.h>

Static Public Member Functions

YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
@@ -185,7 +185,7 @@ Private Attributes
The documentation for this class was generated from the following files: @@ -194,7 +194,7 @@ Private Attributes @@ -94,7 +94,7 @@ $(document).ready(function(){initNavTree('classyage_1_1IoManager.html','');}); @@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('classyage_1_1IoManager.html','');});
-

#include <iomanager.hpp>

+

#include <iomanager.h>

Public Member Functions

YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
@@ -134,7 +134,7 @@ Static Public Member Functions
The documentation for this class was generated from the following files: @@ -143,7 +143,7 @@ Static Public Member Functions @@ -108,7 +108,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Matrix.html','');}); @@ -94,7 +94,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Matrix.html','');});

Base Matrix class used by other similar classes. More...

-

#include <matrix.hpp>

+

#include <matrix.h>

Static Public Member Functions

YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
@@ -107,21 +107,22 @@ Public Member Functions - + + - + - + - + @@ -147,9 +148,13 @@ Friends

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

-

Matrix class

-

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

-

Constructor & Destructor Documentation

+

Matrix Class

+

The matrix class is a templated class which implements a mathematical Matrix.

+

Usage Guide

+

The class can be instantiated

+

Example Code

+

Creating a Matrix and performing operations on it.

+
#include <YAGE/Math/matrix.hpp>
int main(int, char **)
{
yage::Matrix<2, 2, int> mat1 {{1, 2, 3, 4}};
yage::Matrix<2, 2, int> mat2 {{5, 6, 7, 8}};
int dot = yage::math::dot(mat1, mat2);
return 0;
}

Constructor & Destructor Documentation

◆ Matrix() [1/2]

@@ -230,6 +235,7 @@ template<int Rows = 4, int Cols = 4, class Type = double>

Public Member Functions

 Returns the row size of the Matrix. More...
 
int colSize () const
 Returns the column size of the Matrixxs. More...
 Returns the column size of the Matrix. 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
 Get a specific column in a column vector. More...
 
std::vector< Type >::iterator begin ()
 iterator support for begin More...
 Iterator support for the start. More...
 
std::vector< Type >::iterator end ()
 iterator support for end More...
 Iterator support for the end. More...
 
virtual std::string toString () const
 prints out the matrix, but can also be implemented by other classes to print data differently More...
 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)
 
+
Returns
Iterator pointing to the start of the data.
@@ -284,6 +290,7 @@ template<int Rows = 4, int Cols = 4, class Type = double>
+
Returns
Iterator pointing to the end of the data.
@@ -312,6 +319,13 @@ template<int Rows = 4, int Cols = 4, class Type = double>
+
Parameters
+ + +
colColumn number to be returned.
+
+
+
Returns
Column Matrix of the selected column.
@@ -342,11 +356,11 @@ template<int Rows = 4, int Cols = 4, class Type = double>
Parameters
- +
rowRow number to be returned
rowRow number to be returned.
-

Returns the row that is specified by the row variables.

+
Returns
The row that is specified by the row variables.
@@ -513,6 +527,7 @@ template<int Rows = 4, int Cols = 4, class Type = double>
+
Bug:
When printing certain matrices, it omits a row or column. Still need to determine under which conditions.

Reimplemented in yage::Vector< Rows, Type >, yage::Vector< 2, double >, and yage::Vector< 2, Type >.

@@ -569,7 +584,7 @@ template<int Rows = 4, int Cols = 4, class Type = double>

The documentation for this class was generated from the following file: @@ -577,7 +592,7 @@ template<int Rows = 4, int Cols = 4, class Type = double> @@ -244,7 +244,7 @@ Additional Inherited Members @@ -216,7 +216,7 @@ Additional Inherited Members
The documentation for this class was generated from the following file: @@ -333,7 +335,7 @@ template<int Rows = 2, class Type = double>
The documentation for this class was generated from the following file: @@ -420,7 +421,7 @@ template<class Type = double> +
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::math::Matrix< Rows, Cols, Type > Member List
+
+ +
+ + + + diff --git a/classyage_1_1math_1_1Matrix.html b/classyage_1_1math_1_1Matrix.html new file mode 100644 index 00000000..68360a39 --- /dev/null +++ b/classyage_1_1math_1_1Matrix.html @@ -0,0 +1,602 @@ + + + + + + + +YAGE: yage::math::Matrix< Rows, Cols, Type > Class Template Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  v0.1.1 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::math::Matrix< Rows, Cols, Type > Class Template Reference
+
+
+ +

Base Matrix class used by other similar classes. + More...

+ +

#include <matrix.hpp>

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

+Public Member Functions

 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 Matrix. 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
 Get a specific column in a column vector. More...
 
std::vector< Type >::iterator begin ()
 Iterator support for the start. More...
 
std::vector< Type >::iterator end ()
 Iterator support for the end. More...
 
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. More...
 
+ + + +

+Friends

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

Detailed Description

+

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

+ +

Matrix Class

+

The matrix class is a templated class which implements a mathematical Matrix.

+

Usage Guide

+

The class can be instantiated

+

Example Code

+

Creating a Matrix and performing operations on it.

+
int main(int argc, char **argv)
{
return 0;
}

Constructor & Destructor Documentation

+ +

◆ Matrix() [1/2]

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

◆ Matrix() [2/2]

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + + +
yage::math::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::math::Matrix< Rows, Cols, Type >::begin ()
+
+inline
+
+
Returns
Iterator pointing to the start of the data.
+ +
+
+ +

◆ colSize()

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

◆ end()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + +
std::vector<Type>::iterator yage::math::Matrix< Rows, Cols, Type >::end ()
+
+inline
+
+
Returns
Iterator pointing to the end of the data.
+ +
+
+ +

◆ getCol()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + + +
Matrix<Rows, 1, Type> yage::math::Matrix< Rows, Cols, Type >::getCol (int col) const
+
+inline
+
+
Parameters
+ + +
colColumn number to be returned.
+
+
+
Returns
Column Matrix of the selected column.
+ +
+
+ +

◆ getRow()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + + +
Matrix<1, Cols, Type> yage::math::Matrix< Rows, Cols, Type >::getRow (int row) const
+
+inline
+
+
Parameters
+ + +
rowRow number to be returned.
+
+
+
Returns
The row that is specified by the row variables.
+ +
+
+ +

◆ operator+=()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + + +
Matrix<Rows, Cols, Type>& yage::math::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::math::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::math::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::math::Matrix< Rows, Cols, Type >::operator[] (int row) const
+
+inline
+
+
Todo:
got to fix this
+ +
+
+ +

◆ rowSize()

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

◆ toString()

+ +
+
+
+template<int Rows = 4, int Cols = 4, class Type = double>
+ + + + + +
+ + + + + + + +
virtual std::string yage::math::Matrix< Rows, Cols, Type >::toString () const
+
+inlinevirtual
+
+
Bug:
When printing certain matrices, it omits a row or column. Still need to determine under which conditions.
+ +

Reimplemented in yage::math::Vector< Rows, Type >, and yage::math::Vector< 2, Type >.

+ +
+
+

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::math::Matrix< Rows, Cols, Type >::data_
+
+protected
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/classyage_1_1math_1_1Matrix.js b/classyage_1_1math_1_1Matrix.js new file mode 100644 index 00000000..ec1337c1 --- /dev/null +++ b/classyage_1_1math_1_1Matrix.js @@ -0,0 +1,18 @@ +var classyage_1_1math_1_1Matrix = +[ + [ "Matrix", "classyage_1_1math_1_1Matrix.html#a23f627829ec373a6c335d3c31da86fad", null ], + [ "Matrix", "classyage_1_1math_1_1Matrix.html#a3f74fcf8165066ff271030f1e464dd2f", null ], + [ "begin", "classyage_1_1math_1_1Matrix.html#a812185b27d5980df4b1c6f57101d1ef3", null ], + [ "colSize", "classyage_1_1math_1_1Matrix.html#a161afbb970519c40520fdf37e00e3ad1", null ], + [ "end", "classyage_1_1math_1_1Matrix.html#a43b2c3311ee6319b4315ecc65fc5cd9e", null ], + [ "getCol", "classyage_1_1math_1_1Matrix.html#adb9807502f1cd2bff972c1b8d05d1362", null ], + [ "getRow", "classyage_1_1math_1_1Matrix.html#a05094d99ac93c9a3417d7319c03550f8", null ], + [ "operator+=", "classyage_1_1math_1_1Matrix.html#aa3f2b4d9ecbf6ef0ab7be71a397b795e", null ], + [ "operator-=", "classyage_1_1math_1_1Matrix.html#a1e161f7c3f8a046799666b38ab12e942", null ], + [ "operator[]", "classyage_1_1math_1_1Matrix.html#a2fcbed4f4218c60eacbc40b098bf5594", null ], + [ "operator[]", "classyage_1_1math_1_1Matrix.html#ac9dc30e05d30fe69297e49c63f230aaf", null ], + [ "rowSize", "classyage_1_1math_1_1Matrix.html#a378658789881e710915a171b8188c705", null ], + [ "toString", "classyage_1_1math_1_1Matrix.html#a526d2ee783f8f25c30df299b0e3852d3", null ], + [ "detail::Row< Rows, Cols, Type >", "classyage_1_1math_1_1Matrix.html#ac06ebbb8e42e63b0707ef44561abcc2e", null ], + [ "data_", "classyage_1_1math_1_1Matrix.html#a615fcc80a3f35953120c38f329e4cb71", null ] +]; \ No newline at end of file diff --git a/classyage_1_1math_1_1Vector-members.html b/classyage_1_1math_1_1Vector-members.html new file mode 100644 index 00000000..4d3b87dd --- /dev/null +++ b/classyage_1_1math_1_1Vector-members.html @@ -0,0 +1,119 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  v0.1.1 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::math::Vector< Rows, Type > Member List
+
+
+ +

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

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

#include <matrix.hpp>

+
+Inheritance diagram for yage::math::Vector< Rows, Type >:
+
+
+ + +yage::math::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
 Prints out the matrix, but can also be implemented by other classes to print data differently. More...
 
- Public Member Functions inherited from yage::math::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 Matrix. 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
 Get a specific column in a column vector. More...
 
std::vector< Type >::iterator begin ()
 Iterator support for the start. More...
 
std::vector< Type >::iterator end ()
 Iterator support for the 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::math::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::math::Vector< Rows, Type >::Vector ()
+
+inline
+
+ +
+
+ +

◆ Vector() [2/3]

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

◆ Vector() [3/3]

+ +
+
+
+template<int Rows = 2, class Type = double>
+ + + + + +
+ + + + + + + + +
yage::math::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::math::Vector< Rows, Type >::operator[] (int col)
+
+inline
+
+ +
+
+ +

◆ operator[]() [2/2]

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

◆ toString()

+ +
+
+
+template<int Rows = 2, class Type = double>
+ + + + + +
+ + + + + + + +
std::string yage::math::Vector< Rows, Type >::toString () const
+
+inlineoverridevirtual
+
+
Bug:
When printing certain matrices, it omits a row or column. Still need to determine under which conditions.
+ +

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

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/classyage_1_1math_1_1Vector.js b/classyage_1_1math_1_1Vector.js new file mode 100644 index 00000000..cf9c3027 --- /dev/null +++ b/classyage_1_1math_1_1Vector.js @@ -0,0 +1,9 @@ +var classyage_1_1math_1_1Vector = +[ + [ "Vector", "classyage_1_1math_1_1Vector.html#a30b4a665f91ee7a4f589aeda8f163d96", null ], + [ "Vector", "classyage_1_1math_1_1Vector.html#ace89b537fb1d525928326950c99bff10", null ], + [ "Vector", "classyage_1_1math_1_1Vector.html#a031661931f40b4598d749e3124aa1feb", null ], + [ "operator[]", "classyage_1_1math_1_1Vector.html#ac33de8137cbcabf6768dcbca1e8115ca", null ], + [ "operator[]", "classyage_1_1math_1_1Vector.html#a36f70a35e9f7c6c2f7d76959f3062696", null ], + [ "toString", "classyage_1_1math_1_1Vector.html#a80298cc0bec82aeb5d849826150232e4", null ] +]; \ No newline at end of file diff --git a/classyage_1_1math_1_1Vector.png b/classyage_1_1math_1_1Vector.png new file mode 100644 index 00000000..6c3924a7 Binary files /dev/null and b/classyage_1_1math_1_1Vector.png differ diff --git a/classyage_1_1math_1_1Vector2-members.html b/classyage_1_1math_1_1Vector2-members.html new file mode 100644 index 00000000..abcc4388 --- /dev/null +++ b/classyage_1_1math_1_1Vector2-members.html @@ -0,0 +1,127 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  v0.1.1 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::math::Vector2< Type > Member List
+
+
+ +

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

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

2D Vector class. + More...

+ +

#include <matrix.hpp>

+
+Inheritance diagram for yage::math::Vector2< Type >:
+
+
+ + +yage::math::Vector< 2, Type > +yage::math::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::math::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
 Prints out the matrix, but can also be implemented by other classes to print data differently. More...
 
- Public Member Functions inherited from yage::math::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 Matrix. 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
 Get a specific column in a column vector. More...
 
std::vector< Type >::iterator begin ()
 Iterator support for the start. More...
 
std::vector< Type >::iterator end ()
 Iterator support for the 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::math::Matrix< Rows, 1, Type >
std::vector< Type > data_
 Vector containing the data of the matrix. More...
 
+

Detailed Description

+

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

+ +

Two dimensional vector class.

+

Constructor & Destructor Documentation

+ +

◆ Vector2() [1/4]

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

◆ Vector2() [2/4]

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

◆ Vector2() [3/4]

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

◆ Vector2() [4/4]

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

Member Function Documentation

+ +

◆ x() [1/2]

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

◆ x() [2/2]

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

◆ y() [1/2]

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

◆ y() [2/2]

+ +
+
+
+template<class Type = double>
+ + + + + +
+ + + + + + + +
const Type& yage::math::Vector2< Type >::y () const
+
+inline
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/classyage_1_1math_1_1Vector2.js b/classyage_1_1math_1_1Vector2.js new file mode 100644 index 00000000..22f37f22 --- /dev/null +++ b/classyage_1_1math_1_1Vector2.js @@ -0,0 +1,11 @@ +var classyage_1_1math_1_1Vector2 = +[ + [ "Vector2", "classyage_1_1math_1_1Vector2.html#a3860c34189d59534e638f43b62c854d4", null ], + [ "Vector2", "classyage_1_1math_1_1Vector2.html#a48146145b35ad99952ec6371522dd879", null ], + [ "Vector2", "classyage_1_1math_1_1Vector2.html#a07f6b35c27e9a8e9681a66b112c2b9bc", null ], + [ "Vector2", "classyage_1_1math_1_1Vector2.html#a7955c16c881a2098c76e684e7bbc8293", null ], + [ "x", "classyage_1_1math_1_1Vector2.html#a8d6213cc7f622e8f5ca53b9bd3420753", null ], + [ "x", "classyage_1_1math_1_1Vector2.html#a8d6719bc93dc5a2d4b7e0297f2218824", null ], + [ "y", "classyage_1_1math_1_1Vector2.html#af04d48e5ef10701586cd0c7780cef5df", null ], + [ "y", "classyage_1_1math_1_1Vector2.html#ab86d9e1ea5230470f6309a2002542ae5", null ] +]; \ No newline at end of file diff --git a/classyage_1_1math_1_1Vector2.png b/classyage_1_1math_1_1Vector2.png new file mode 100644 index 00000000..4c8df7ce Binary files /dev/null and b/classyage_1_1math_1_1Vector2.png differ diff --git a/classyage_1_1math_1_1detail_1_1Row-members.html b/classyage_1_1math_1_1detail_1_1Row-members.html new file mode 100644 index 00000000..6ad318ce --- /dev/null +++ b/classyage_1_1math_1_1detail_1_1Row-members.html @@ -0,0 +1,107 @@ + + + + + + + +YAGE: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  v0.1.1 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage::math::detail::Row< Rows, Cols, Type > Member List
+
+
+ +

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

+ + + + + + +
index_yage::math::detail::Row< Rows, Cols, Type >private
operator[](int col)yage::math::detail::Row< Rows, Cols, Type >inline
operator[](int col) constyage::math::detail::Row< Rows, Cols, Type >inline
parent_yage::math::detail::Row< Rows, Cols, Type >private
Row(Matrix< Rows, Cols, Type > *parent, int index)yage::math::detail::Row< Rows, Cols, Type >inline
+
+ + + + diff --git a/classyage_1_1math_1_1detail_1_1Row.html b/classyage_1_1math_1_1detail_1_1Row.html new file mode 100644 index 00000000..90527ce6 --- /dev/null +++ b/classyage_1_1math_1_1detail_1_1Row.html @@ -0,0 +1,271 @@ + + + + + + + +YAGE: yage::math::detail::Row< Rows, Cols, Type > Class Template Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  v0.1.1 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::math::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::math::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::math::detail::Row< Rows, Cols, Type >::operator[] (int col)
+
+inline
+
+ +
+
+ +

◆ operator[]() [2/2]

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

Member Data Documentation

+ +

◆ index_

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

◆ parent_

+ +
+
+
+template<int Rows, int Cols, class Type>
+ + + + + +
+ + + + +
Matrix<Rows, Cols, Type>* yage::math::detail::Row< Rows, Cols, Type >::parent_
+
+private
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/classyage_1_1math_1_1detail_1_1Row.js b/classyage_1_1math_1_1detail_1_1Row.js new file mode 100644 index 00000000..a82b4949 --- /dev/null +++ b/classyage_1_1math_1_1detail_1_1Row.js @@ -0,0 +1,8 @@ +var classyage_1_1math_1_1detail_1_1Row = +[ + [ "Row", "classyage_1_1math_1_1detail_1_1Row.html#a660408d29a0eff1fd932f9049bf0ca9d", null ], + [ "operator[]", "classyage_1_1math_1_1detail_1_1Row.html#aea54cfeca2c6cdacba49f7682ebcc1d5", null ], + [ "operator[]", "classyage_1_1math_1_1detail_1_1Row.html#a6f290f2f4878b5585c0c7fe0a268e9ab", null ], + [ "index_", "classyage_1_1math_1_1detail_1_1Row.html#acd2547f8dc9521ef8e0c47d8e21e616c", null ], + [ "parent_", "classyage_1_1math_1_1detail_1_1Row.html#aaef0d10c88417faca81208cfb450c7bb", null ] +]; \ No newline at end of file diff --git a/collider_8h.html b/collider_8h.html new file mode 100644 index 00000000..127b6197 --- /dev/null +++ b/collider_8h.html @@ -0,0 +1,118 @@ + + + + + + + +YAGE: include/YAGE/Physics/collider.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  v0.1.1 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
collider.h File Reference
+
+
+
#include <glm/glm.hpp>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  yage::Collider
 
+ + + + +

+Namespaces

 yage
 Project namespace.
 
+
+
+ + + + diff --git a/collider_8h_source.html b/collider_8h_source.html new file mode 100644 index 00000000..65c7942c --- /dev/null +++ b/collider_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +YAGE: include/YAGE/Physics/collider.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  v0.1.1 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
collider.h
+
+
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * collider.h
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_H
10 #define YAGE_PHYSICS_COLLIDER_H
11 
12 #include <glm/glm.hpp>
13 
14 namespace yage
15 {
16 
17 // The Collider class helps collision detection by providing a general shape
18 // for different shapes to have their own collision algorithms.
19 class Collider
20 {
21 protected:
22  // position of the object
23  glm::vec2 position_;
24 
25  // size of the object
26  glm::vec2 size_;
27 
28 public:
29  Collider(const glm::vec2 &position, const glm::vec2 &size)
30  : position_(position), size_(size)
31  {
32  }
33 
34  // function that checks if two colliders are colliding
35  virtual bool collides(const Collider &collider) const = 0;
36 
37  // function that returns if a point is inside the shape
38  virtual bool inside(const glm::vec2 &point) const = 0;
39 };
40 
41 } // namespace yage
42 
43 #endif
Collider(const glm::vec2 &position, const glm::vec2 &size)
Definition: collider.h:29
+
glm::vec2 position_
Definition: collider.h:23
+
virtual bool collides(const Collider &collider) const =0
+
virtual bool inside(const glm::vec2 &point) const =0
+
glm::vec2 size_
Definition: collider.h:26
+
Definition: collider.h:19
+
Project namespace.
Definition: body.cpp:13
+
+
+ + + + diff --git a/collider_8hpp.html b/collider_8hpp.html index ba72a95b..306a3131 100644 --- a/collider_8hpp.html +++ b/collider_8hpp.html @@ -29,7 +29,7 @@
YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
@@ -100,7 +100,7 @@ Classes

Namespaces

 yage - Templated matrix class.
+ Project namespace.
  @@ -109,7 +109,7 @@ Namespaces @@ -109,7 +109,7 @@ Namespaces @@ -99,7 +99,7 @@ Files
-
#include "texturecache.hpp"
-#include "imageloader.hpp"
+
#include <YAGE/texturecache.h>
+#include <YAGE/imageloader.h>
- +

Namespaces

 yage
 Templated matrix class.
 Project namespace.
 
@@ -102,7 +102,7 @@ Namespaces @@ -110,7 +110,7 @@ Namespaces
-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 
20 {
21 private:
22  std::unordered_map<std::string, Texture> texture_map_;
23 
24 public:
25  TextureCache();
26 
27  Texture getTexture(const std::string &texture_path);
28 };
29 
30 } // yage
31 
32 #endif
Texture getTexture(const std::string &texture_path)
Definition: texturecache.cpp: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 
20 {
21 private:
22  std::unordered_map<std::string, Texture> texture_map_;
23 
24 public:
25  TextureCache();
26 
27  Texture getTexture(const std::string &texture_path);
28 };
29 
30 } // namespace yage
31 
32 #endif
Texture getTexture(const std::string &texture_path)
Definition: texturecache.cpp:17
std::unordered_map< std::string, Texture > texture_map_
Definition: texturecache.hpp:22
Definition: texture.hpp:17
Definition: texturecache.hpp:19
-
Templated matrix class.
Definition: camera2d.hpp:17
+
Project namespace.
Definition: body.cpp:13
@@ -98,7 +98,7 @@ $(document).ready(function(){initNavTree('texturecache_8hpp_source.html','');}); @@ -115,7 +115,7 @@ Namespaces
-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 
17 struct Position {
18  float x;
19  float y;
20 
21  Position() = default;
22 
23  Position(float x_, float y_) : x(x_), y(y_) {}
24 };
25 
26 struct Color {
27  GLubyte r;
28  GLubyte g;
29  GLubyte b;
30  GLubyte a;
31 
32  Color() = default;
33 
34  Color(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)
35  : r(r_), g(g_), b(b_), a(a_)
36  {
37  }
38 };
39 
40 struct UV {
41  float u;
42  float v;
43 
44  UV() = default;
45 
46  UV(float u_, float v_) : u(u_), v(v_) {}
47 };
48 
49 struct Vertex {
52  UV uv;
53 
54  Vertex() = default;
55 
56  Vertex(const Position &position_, const Color &color_, const UV &uv_)
57  : position(position_), color(color_), uv(uv_)
58  {
59  }
60 
61  void setPosition(float x, float y)
62  {
63  position.x = x;
64  position.y = y;
65  }
66 
67  void setColor(GLubyte r, GLubyte g, GLubyte b, GLubyte a)
68  {
69  color.r = r;
70  color.g = g;
71  color.b = b;
72  color.a = a;
73  }
74 
75  void setUv(float u, float v)
76  {
77  uv.u = u;
78  uv.v = v;
79  }
80 };
81 
82 } // yage
83 
84 #endif
Position()=default
+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 
17 struct Position {
18  float x;
19  float y;
20 
21  Position() = default;
22 
23  Position(float x_, float y_) : x(x_), y(y_) {}
24 };
25 
26 struct Color {
27  GLubyte r;
28  GLubyte g;
29  GLubyte b;
30  GLubyte a;
31 
32  Color() = default;
33 
34  Color(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)
35  : r(r_), g(g_), b(b_), a(a_)
36  {
37  }
38 };
39 
40 struct UV {
41  float u;
42  float v;
43 
44  UV() = default;
45 
46  UV(float u_, float v_) : u(u_), v(v_) {}
47 };
48 
49 struct Vertex {
52  UV uv;
53 
54  Vertex() = default;
55 
56  Vertex(const Position &position_, const Color &color_, const UV &uv_)
57  : position(position_), color(color_), uv(uv_)
58  {
59  }
60 
61  void setPosition(float x, float y)
62  {
63  position.x = x;
64  position.y = y;
65  }
66 
67  void setColor(GLubyte r, GLubyte g, GLubyte b, GLubyte a)
68  {
69  color.r = r;
70  color.g = g;
71  color.b = b;
72  color.a = a;
73  }
74 
75  void setUv(float u, float v)
76  {
77  uv.u = u;
78  uv.v = v;
79  }
80 };
81 
82 } // namespace yage
83 
84 #endif
Position()=default
Definition: vertex.hpp:49
Position position
Definition: vertex.hpp:50
UV(float u_, float v_)
Definition: vertex.hpp:46
@@ -103,7 +103,7 @@ $(document).ready(function(){initNavTree('vertex_8hpp_source.html','');});
void setPosition(float x, float y)
Definition: vertex.hpp:61
GLubyte b
Definition: vertex.hpp:29
Definition: vertex.hpp:17
-
Templated matrix class.
Definition: camera2d.hpp:17
+
Project namespace.
Definition: body.cpp:13
UV uv
Definition: vertex.hpp:52
Vertex(const Position &position_, const Color &color_, const UV &uv_)
Definition: vertex.hpp:56
float u
Definition: vertex.hpp:41
@@ -115,7 +115,7 @@ $(document).ready(function(){initNavTree('vertex_8hpp_source.html','');});
-
#include "window.hpp"
+
#include <YAGE/window.h>
#include <GL/glew.h>
#include <iostream>
#include <stdexcept>
@@ -95,7 +95,7 @@ $(document).ready(function(){initNavTree('window_8cpp.html','');});

Namespaces

 yage - Templated matrix class.
+ Project namespace.
 
@@ -104,7 +104,7 @@ Namespaces - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
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 deleted file mode 100644 index 6b4006c7..00000000 --- a/windowtest_8cpp.js +++ /dev/null @@ -1,5 +0,0 @@ -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_8h.html b/yage_8h.html new file mode 100644 index 00000000..39fce389 --- /dev/null +++ b/yage_8h.html @@ -0,0 +1,134 @@ + + + + + + + +YAGE: include/YAGE/yage.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  v0.1.1 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage.h File Reference
+
+
+
#include "camera2d.h"
+#include "glslprogram.h"
+#include "imageloader.h"
+#include "inputmanager.h"
+#include "iomanager.h"
+#include "picopng.h"
+#include "resourcemanager.h"
+#include "spritebatch.h"
+#include "texture.h"
+#include "vertex.h"
+#include "window.h"
+#include <SDL2/SDL.h>
+#include <stdexcept>
+
+

Go to the source code of this file.

+ + + + + +

+Namespaces

 yage
 Project namespace.
 
+ + + + + + + +

+Functions

bool yage::init ()
 Initializes YAGE. More...
 
void yage::quit ()
 Quit and cleanup YAGE. More...
 
+
+
+ + + + diff --git a/yage_8h.js b/yage_8h.js new file mode 100644 index 00000000..6202fbc2 --- /dev/null +++ b/yage_8h.js @@ -0,0 +1,5 @@ +var yage_8h = +[ + [ "init", "yage_8h.html#a6aea783cb978923211e165efefec4a7b", null ], + [ "quit", "yage_8h.html#ac9d8c7327204686b3c86f4ab48672618", null ] +]; \ No newline at end of file diff --git a/yage_8h_source.html b/yage_8h_source.html new file mode 100644 index 00000000..d716b2ff --- /dev/null +++ b/yage_8h_source.html @@ -0,0 +1,114 @@ + + + + + + + +YAGE: include/YAGE/yage.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  v0.1.1 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
yage.h
+
+
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * yage.h
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
14 #ifndef YAGE_YAGE_H
15 #define YAGE_YAGE_H
16 
17 #include "camera2d.h"
18 #include "glslprogram.h"
19 #include "imageloader.h"
20 #include "inputmanager.h"
21 #include "iomanager.h"
22 #include "picopng.h"
23 #include "resourcemanager.h"
24 #include "spritebatch.h"
25 #include "texture.h"
26 #include "vertex.h"
27 #include "window.h"
28 
29 #include <SDL2/SDL.h>
30 
31 #include <stdexcept>
32 
38 namespace yage
39 {
40 
47 bool init()
48 {
49  return SDL_Init(SDL_INIT_VIDEO);
50 }
51 
56 void quit()
57 {
58  SDL_Quit();
59 }
60 
61 } // namespace yage
62 
63 #endif
bool init()
Initializes YAGE.
Definition: yage.h:47
+ +
void quit()
Quit and cleanup YAGE.
Definition: yage.h:56
+ + + + + + + + + + +
Project namespace.
Definition: body.cpp:13
+
+
+ + + + diff --git a/yage_8hpp.html b/yage_8hpp.html index a8c33886..1f42b221 100644 --- a/yage_8hpp.html +++ b/yage_8hpp.html @@ -29,7 +29,7 @@
YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
@@ -107,14 +107,16 @@ $(document).ready(function(){initNavTree('yage_8hpp.html','');});

Namespaces

 yage - Templated matrix class.
+ Project namespace.
  + +

Functions

bool yage::init ()
 Initializes YAGE. More...
 
void yage::quit ()
 Quit and cleanup YAGE. More...
 
@@ -123,7 +125,7 @@ Functions
-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 
31 bool init() { return SDL_Init(SDL_INIT_VIDEO); }
32 void quit() { SDL_Quit(); }
33 };
34 
35 #endif
-
bool init()
Definition: yage.hpp:31
-
void quit()
Definition: yage.hpp:32
+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 
14 #ifndef YAGE_HPP
15 #define YAGE_HPP
16 
17 #include "camera2d.hpp"
18 #include "glslprogram.hpp"
19 #include "imageloader.hpp"
20 #include "inputmanager.hpp"
21 #include "iomanager.hpp"
22 #include "picopng.hpp"
23 #include "resourcemanager.hpp"
24 #include "spritebatch.hpp"
25 #include "texture.hpp"
26 #include "vertex.hpp"
27 #include "window.hpp"
28 
29 #include <SDL2/SDL.h>
30 
31 #include <stdexcept>
32 
38 namespace yage
39 {
40 
47 bool init()
48 {
49  return SDL_Init(SDL_INIT_VIDEO);
50 }
51 
56 void quit()
57 {
58  SDL_Quit();
59 }
60 
61 } // namespace yage
62 
63 #endif
+
bool init()
Initializes YAGE.
Definition: yage.hpp:47
+
void quit()
Quit and cleanup YAGE.
Definition: yage.hpp:56
@@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('yage_8hpp_source.html','');}); -
Templated matrix class.
Definition: camera2d.hpp:17
+
Project namespace.
Definition: body.cpp:13
@@ -105,7 +105,7 @@ $(document).ready(function(){initNavTree('yage_8hpp_source.html','');});