SimpleAI
 All Classes Namespaces Files Functions Variables Typedefs Macros Groups Pages
Macros | Functions
Math.h File Reference
#include "Types.h"
#include <glm/glm.hpp>
#include <glm/gtc/constants.hpp>
#include <glm/gtc/epsilon.hpp>
#include <glm/gtx/compatibility.hpp>
#include <glm/gtx/norm.hpp>
#include <limits>
#include <math.h>
Include dependency graph for Math.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

float ai::toRadians (float degree)
 
bool ai::isInfinite (const glm::vec3 &vec)
 
float ai::toDegrees (float radians)
 
glm::vec3 ai::fromRadians (float radians)
 
float ai::angle (const glm::vec3 &v)
 
glm::vec3 ai::advance (const glm::vec3 &src, const glm::vec3 &direction, const float scale)
 
template<typename T >
ai::clamp (T a, T low, T high)
 
glm::vec3 ai::parse (const std::string &in)