From dd51ec0f1fadd719f5ee298c1c40890f6db1815b Mon Sep 17 00:00:00 2001 From: TravisBot <> Date: Thu, 12 Oct 2017 13:59:45 +0000 Subject: Rebuilding documentation --- rectanglecollider_8h_source.html | 91 +++++++++++++++++++++++++++++++--------- 1 file changed, 71 insertions(+), 20 deletions(-) (limited to 'rectanglecollider_8h_source.html') diff --git a/rectanglecollider_8h_source.html b/rectanglecollider_8h_source.html index 1b4570bb..fd2535ed 100644 --- a/rectanglecollider_8h_source.html +++ b/rectanglecollider_8h_source.html @@ -3,22 +3,23 @@ - - + YAGE: yage/physics/rectanglecollider.h Source File - - + @@ -27,7 +28,7 @@ -
+
YAGE  v0.1.1
@@ -38,19 +39,40 @@
- + - - - - + +
+ All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
@@ -85,22 +107,51 @@ $(document).ready(function(){initNavTree('rectanglecollider_8h_source.html','');
rectanglecollider.h
-Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * rectanglecollider.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_RECTANGLE_COLLIDER_H
10 #define YAGE_RECTANGLE_COLLIDER_H
11 
12 #include "collider.h"
13 
14 #include <glm/glm.hpp>
15 
16 namespace yage
17 {
18 
20 {
21 public:
22  RectangleCollider(const glm::vec2 &position, const glm::vec2 &size);
23 
24  bool collides(const Collider &collider) const override;
25  bool inside(const glm::vec2 &point) const override;
26 };
27 
28 } // namespace yage
29 
30 #endif
RectangleCollider(const glm::vec2 &position, const glm::vec2 &size)
Definition: rectanglecollider.cpp:14
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
+
2  * rectanglecollider.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_RECTANGLE_COLLIDER_H
+
10 #define YAGE_RECTANGLE_COLLIDER_H
+
11 
+
12 #include "collider.h"
+
13 
+
14 #include <glm/glm.hpp>
+
15 
+
16 namespace yage
+
17 {
+
18 
+ +
20 {
+
21 public:
+
22  RectangleCollider(const glm::vec2 &position, const glm::vec2 &size);
+
23 
+
24  bool collides(const Collider &collider) const override;
+
25  bool inside(const glm::vec2 &point) const override;
+
26 };
+
27 
+
28 } // namespace yage
+
29 
+
30 #endif
+
RectangleCollider(const glm::vec2 &position, const glm::vec2 &size)
Definition: rectanglecollider.cpp:14
bool collides(const Collider &collider) const override
Definition: rectanglecollider.cpp:20
Definition: rectanglecollider.h:19
bool inside(const glm::vec2 &point) const override
Definition: rectanglecollider.cpp:30
Definition: collider.h:19
-
Project namespace.
Definition: camera2d.cpp:13
-- cgit