From 0e5a826935cd1e5ef1e3061d029e2aafea038f47 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 26 Sep 2017 14:18:22 +0100 Subject: Adding --- rigidbody_8h_source.html | 89 +++++++++++------------------------------------- 1 file changed, 20 insertions(+), 69 deletions(-) (limited to 'rigidbody_8h_source.html') diff --git a/rigidbody_8h_source.html b/rigidbody_8h_source.html index 9eab63e6..d4ad62ef 100644 --- a/rigidbody_8h_source.html +++ b/rigidbody_8h_source.html @@ -3,23 +3,22 @@ - + + YAGE: yage/physics/rigidbody.h Source File + + - @@ -28,7 +27,7 @@ -
+
YAGE  v0.1.1
@@ -39,40 +38,19 @@
- + - - + + + +
+
@@ -107,39 +85,12 @@ $(document).ready(function(){initNavTree('rigidbody_8h_source.html','');});
rigidbody.h
-Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
-
2  * rigidbody.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_RIGID_BODY_H
-
10 #define YAGE_RIGID_BODY_H
-
11 
-
12 #include "particlebody.h"
-
13 
-
14 #include <glm/glm.hpp>
-
15 
-
16 namespace yage
-
17 {
-
18 
-
19 class RigidBody : public ParticleBody
-
20 {
-
21 public:
-
22  RigidBody(const Vector2d &position = Vector2d(0, 0), double mass = 1,
-
23  const Vector2d &velocity = Vector2d(0, 0), bool gravity = true);
-
24 };
-
25 
-
26 } // namespace yage
-
27 
-
28 #endif
- +Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * rigidbody.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_RIGID_BODY_H
10 #define YAGE_RIGID_BODY_H
11 
12 #include "particlebody.h"
13 
14 #include <glm/glm.hpp>
15 
16 namespace yage
17 {
18 
19 class RigidBody : public ParticleBody
20 {
21 public:
22  RigidBody(const Vector2d &position = Vector2d(0, 0), double mass = 1,
23  const Vector2d &velocity = Vector2d(0, 0), bool gravity = true);
24 };
25 
26 } // namespace yage
27 
28 #endif
Definition: particlebody.h:19
RigidBody(const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=true)
Definition: rigidbody.cpp:14
Definition: rigidbody.h:19
Vector2< double > Vector2d
Definition of a 2D vector.
Definition: matrix.h:352
+
Project namespace.
Definition: camera2d.cpp:13
@@ -147,9 +98,9 @@ $(document).ready(function(){initNavTree('rigidbody_8h_source.html','');}); -- cgit