AnnVect3.hpp
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include "systemMacro.h"
10 #include <OgreVector3.h>
11 #include <LinearMath/btVector3.h>
12 
13 namespace Annwvyn
14 {
16  class AnnDllExport AnnVect3 : public Ogre::Vector3
17  {
18  public:
19  //Call of Ogre::Vector3 constructors
20  AnnVect3();
22  AnnVect3(const Vector3& v);
24  AnnVect3(float cx, float cy, float cz);
26  AnnVect3(const int coord[3]);
28  AnnVect3(const float coord[3]);
30  AnnVect3(float* r);
32  AnnVect3(float s);
33 
35  AnnVect3(bool validState);
36 
38  AnnVect3(const btVector3& v);
39 
41  btVector3 getBtVector() const;
42 
44  bool isValid() const;
45 
47  operator btVector3() const;
48 
49  private:
51  void init();
52 
54  bool valid;
55  };
56 }
file for defining macros used for symbol export regarding the way the OS does things.
A 3D Vector.
Definition: AnnVect3.hpp:16
Namespace containing the totality of Annwvyn components.
Definition: AnnGetter.cpp:8
#define AnnDllExport
Definition: systemMacro.h:24
bool valid
Validity boolean.
Definition: AnnVect3.hpp:54