add quaternion
This commit is contained in:
parent
c6ce943f61
commit
748d52c9c9
3 changed files with 20 additions and 2 deletions
|
|
@ -27,6 +27,16 @@ namespace fishbone {
|
|||
float y;
|
||||
float z;
|
||||
};
|
||||
|
||||
struct Quaternion {
|
||||
struct fishbone::Quaternion operator+(struct fishbone::Quaternion q) const;
|
||||
struct fishbone::Quaternion operator-(struct fishbone::Quaternion q) const;
|
||||
|
||||
float w;
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
};
|
||||
}; // namespace fishbone
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue