From 8ad8165816929301a87e90bbb32c3df6b69030ee Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 2 Sep 2017 12:28:11 +0100 Subject: Updating docs --- rigidbody_8hpp_source.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'rigidbody_8hpp_source.html') diff --git a/rigidbody_8hpp_source.html b/rigidbody_8hpp_source.html index e8d91347..53e83465 100644 --- a/rigidbody_8hpp_source.html +++ b/rigidbody_8hpp_source.html @@ -29,7 +29,7 @@
YAGE -  0.02 +  v0.1.1
Yet Another Game Engine
@@ -85,20 +85,20 @@ $(document).ready(function(){initNavTree('rigidbody_8hpp_source.html','');});
rigidbody.hpp
-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 
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 } // yage
27 
28 #endif
+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 
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.hpp:18
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.hpp:19
-
Vector2< double > Vector2d
Definition of a 2D vector.
Definition: matrix.hpp:350
+
Vector2< double > Vector2d
Definition of a 2D vector.
Definition: matrix.hpp:352
-
Templated matrix class.
Definition: camera2d.hpp:17
+
Project namespace.
Definition: body.cpp:13