From 1a8ec165031af3b860028ef1b360acc8e7baf9e6 Mon Sep 17 00:00:00 2001 From: TravisBot <> Date: Thu, 21 Sep 2017 23:32:46 +0000 Subject: Rebuilding documentation --- particlebody_8h_source.html | 110 -------------------------------------------- 1 file changed, 110 deletions(-) delete mode 100644 particlebody_8h_source.html (limited to 'particlebody_8h_source.html') diff --git a/particlebody_8h_source.html b/particlebody_8h_source.html deleted file mode 100644 index 74220701..00000000 --- a/particlebody_8h_source.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - -YAGE: include/YAGE/Physics/particlebody.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
YAGE -  v0.1.1 -
-
Yet Another Game Engine
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
particlebody.h
-
-
-Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * particlebody.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_PARTICLE_BODY_H
10 #define YAGE_PHYSICS_PARTICLE_BODY_H
11 
12 #include "body.h"
13 
14 #include <YAGE/Math/matrix.h>
15 
16 namespace yage
17 {
18 
19 class ParticleBody : public Body
20 {
21 public:
22  ParticleBody(const Vector2d &position = Vector2d(0, 0), double mass = 1,
23  const Vector2d &velocity = Vector2d(0, 0),
24  bool gravity = true);
25 
26  // apply a force to the rigid body
27  void applyForce(const Vector2d &force) override;
28  void update() override;
29 };
30 
31 } // namespace yage
32 
33 #endif
- -
ParticleBody(const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=true)
Definition: particlebody.cpp:17
-
Definition: particlebody.h:19
-
Definition: body.h:16
- -
void applyForce(const Vector2d &force) override
Definition: particlebody.cpp:23
-
Vector2< double > Vector2d
Definition of a 2D vector.
Definition: matrix.h:352
-
void update() override
Definition: particlebody.cpp:28
-
Project namespace.
Definition: body.cpp:13
-
-
- - - - -- cgit