From c7dad1e929c0101386fbcdaa194e402d68f74752 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 23 Aug 2017 22:56:53 +0100 Subject: Updating docs --- rigidbody_8hpp_source.html | 50 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 38 insertions(+), 12 deletions(-) (limited to 'rigidbody_8hpp_source.html') 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
+
- + -- cgit