From 72b41042223bfe31d70df8a71a50e4ba5d4f674d Mon Sep 17 00:00:00 2001 From: TravisBot <> Date: Sat, 23 Dec 2017 01:02:37 +0000 Subject: [Travis] Rebuilding documentation --- particlebody_8h_source.html | 157 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 particlebody_8h_source.html (limited to 'particlebody_8h_source.html') diff --git a/particlebody_8h_source.html b/particlebody_8h_source.html new file mode 100644 index 00000000..ec462d16 --- /dev/null +++ b/particlebody_8h_source.html @@ -0,0 +1,157 @@ + + + + + + +YAGE: yage/physics/particlebody.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  v0.1.3.0 +
+
Yet Another Game Engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
+ + +
+ +
+ +
+
+
particlebody.h
+
+
+Go to the documentation of this file.
1 
+
9 #ifndef YAGE_PHYSICS_PARTICLE_BODY_H
+
10 #define YAGE_PHYSICS_PARTICLE_BODY_H
+
11 
+
12 #include "body.h"
+
13 #include <math/matrix.h>
+
14 
+
15 namespace yage
+
16 {
+
17 
+
18 class ParticleBody : public Body
+
19 {
+
20 public:
+
21  ParticleBody(const Vector2d &position = Vector2d(0, 0), double mass = 1,
+
22  const Vector2d &velocity = Vector2d(0, 0),
+
23  bool gravity = true);
+
24 
+
25  // apply a force to the rigid body
+
26  void applyForce(const Vector2d &force) override;
+
27  void update() override;
+
28 };
+
29 
+
30 } // namespace yage
+
31 
+
32 #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:18
+
Definition: body.h:17
+ +
void applyForce(const Vector2d &force) override
Definition: particlebody.cpp:23
+
Vector2< double > Vector2d
Definition of a 2D vector.
Definition: matrix.h:398
+
void update() override
Definition: particlebody.cpp:28
+
+
+ + + + -- cgit