mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00

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);
|