Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Converter.h
Go to the documentation of this file.
1#pragma once
2#include <LinearMath/btVector3.h>
3#include <glm/vec3.hpp>
4#include <glm/gtx/quaternion.hpp>
5#include <LinearMath/btQuaternion.h>
6
11namespace bt
12{
13 btVector3 getVec3(glm::vec3 v);
14 btQuaternion getQuat(glm::quat quaternion);
15} // namespace bt
16
21namespace glm
22{
23 vec3 getVec3( btVector3 v );
24 quat getQuat( btQuaternion q );
25} // namespace glm
Converter functions from other vector or number storage systems into the bullet 3 standard.
Definition Converter.cpp:11
btQuaternion getQuat(glm::quat quaternion)
Definition Converter.cpp:17
btVector3 getVec3(glm::vec3 v)
Definition Converter.cpp:12
Converters from other number / vector systems into glm.
Definition Converter.cpp:24
vec3 getVec3(btVector3 v)
Definition Converter.cpp:25
quat getQuat(btQuaternion q)
Definition Converter.cpp:30