![]() |
Cinder
0.9.1
|
#include <glm/glm.hpp>
#include <glm/ext.hpp>
#include <limits>
#include <glm/vec3.hpp>
#include <glm/geometric.hpp>
#include <glm/vec4.hpp>
#include <glm/mat4x4.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/vec2.hpp>
#include <glm/packing.hpp>
#include <glm/integer.hpp>
#include <glm/gtc/type_precision.hpp>
Macros | |
#define | GLM_MESSAGES |
#define | GL_FALSE 0 |
#define | GLM_TEMPLATE_GENTYPE typename T, glm::precision P, template<typename, glm::precision> class |
Typedefs | |
typedef unsigned int | GLuint |
Functions | |
glm::vec3 | computeNormal (glm::vec3 const &a, glm::vec3 const &b, glm::vec3 const &c) |
void | glUniformMatrix4fv (GLuint, int, int, float *) |
void | func (GLuint LocationMVP, float Translate, glm::vec2 const &Rotate) |
template<typename T , glm::precision P, template< typename, glm::precision > class vecType> | |
T | normalizeDotA (vecType< T, P > const &x, vecType< T, P > const &y) |
template<GLM_TEMPLATE_GENTYPE vecType> | |
T | normalizeDotB (vecType< T, P > const &x, vecType< T, P > const &y) |
template<typename vecType > | |
vecType::value_type | normalizeDotC (vecType const &a, vecType const &b) |
int | main () |
Variables | |
std::size_t const | VertexCount = 4 |
std::size_t const | PositionSizeF32 = VertexCount * sizeof(glm::vec2) |
glm::vec2 const | PositionDataF32 [VertexCount] |
std::size_t const | PositionSizeF16 = VertexCount * sizeof(glm::uint) |
glm::uint const | PositionDataF16 [VertexCount] |
std::size_t const | PositionSizeI8 = VertexCount * sizeof(glm::i8vec2) |
glm::i8vec2 const | PositionDataI8 [VertexCount] |
std::size_t const | PositionSizeI32 = VertexCount * sizeof(glm::i32vec2) |
glm::i32vec2 const | PositionDataI32 [VertexCount] |
#define GLM_MESSAGES |
#define GL_FALSE 0 |
#define GLM_TEMPLATE_GENTYPE typename T, glm::precision P, template<typename, glm::precision> class |
typedef unsigned int GLuint |
void glUniformMatrix4fv | ( | GLuint | , |
int | , | ||
int | , | ||
float * | |||
) |
T normalizeDotA | ( | vecType< T, P > const & | x, |
vecType< T, P > const & | y | ||
) |
T normalizeDotB | ( | vecType< T, P > const & | x, |
vecType< T, P > const & | y | ||
) |
vecType::value_type normalizeDotC | ( | vecType const & | a, |
vecType const & | b | ||
) |
int main | ( | ) |
std::size_t const VertexCount = 4 |
std::size_t const PositionSizeF32 = VertexCount * sizeof(glm::vec2) |
glm::vec2 const PositionDataF32[VertexCount] |
std::size_t const PositionSizeF16 = VertexCount * sizeof(glm::uint) |
glm::uint const PositionDataF16[VertexCount] |
std::size_t const PositionSizeI8 = VertexCount * sizeof(glm::i8vec2) |
glm::i8vec2 const PositionDataI8[VertexCount] |
std::size_t const PositionSizeI32 = VertexCount * sizeof(glm::i32vec2) |
glm::i32vec2 const PositionDataI32[VertexCount] |