Rebuild trinity visualizer from bare SDL and OpenGL to using Raylib. Added Code for serial parsing on linux. Current functionality reads incoming quaternion packet data coming in over serial and displays the values and also visualizes with a cube, connect and disconnect is implemented. Essentially rebuild the functionality of the old version with added linux support.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
/// @ref gtx_optimum_pow
|
||||
|
||||
namespace glm
|
||||
{
|
||||
template<typename genType>
|
||||
GLM_FUNC_QUALIFIER genType pow2(genType const& x)
|
||||
{
|
||||
return x * x;
|
||||
}
|
||||
|
||||
template<typename genType>
|
||||
GLM_FUNC_QUALIFIER genType pow3(genType const& x)
|
||||
{
|
||||
return x * x * x;
|
||||
}
|
||||
|
||||
template<typename genType>
|
||||
GLM_FUNC_QUALIFIER genType pow4(genType const& x)
|
||||
{
|
||||
return (x * x) * (x * x);
|
||||
}
|
||||
}//namespace glm
|
||||
Reference in New Issue
Block a user