mirror of
https://github.com/Aloshi/EmulationStation.git
synced 2024-05-31 18:47:33 -04:00
07edad611f
A better fix would be to move to OpenGL 3/GLES 2 and do rounding in the shader. But I don't have time for that.
15 lines
425 B
C++
15 lines
425 B
C++
#include <string>
|
|
#include <Eigen/Dense>
|
|
|
|
std::string strToUpper(const char* from);
|
|
std::string& strToUpper(std::string& str);
|
|
std::string strToUpper(const std::string& str);
|
|
|
|
Eigen::Affine3f& roundMatrix(Eigen::Affine3f& mat);
|
|
Eigen::Affine3f roundMatrix(const Eigen::Affine3f& mat);
|
|
|
|
Eigen::Vector3f roundVector(const Eigen::Vector3f& vec);
|
|
Eigen::Vector2f roundVector(const Eigen::Vector2f& vec);
|
|
|
|
float round(float num);
|