#include "../glm.hpp"
#include <glm/vec3.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>
Go to the source code of this file.
Classes | |
struct | intersection |
struct | light |
struct | material |
Defines | |
#define | GL_FALSE 0 |
#define | GLM_MESSAGES |
Typedefs | |
typedef unsigned int | GLuint |
Functions | |
glm::vec3 | computeNormal (glm::vec3 const &a, glm::vec3 const &b, glm::vec3 const &c) |
void | func (GLuint LocationMVP, float Translate, glm::vec2 const &Rotate) |
void | glUniformMatrix4fv (GLuint, int, int, float *) |
int | main () |
Variables | |
glm::uint const | PositionDataF16 [VertexCount] |
glm::vec2 const | PositionDataF32 [VertexCount] |
glm::i32vec2 const | PositionDataI32 [VertexCount] |
glm::i8vec2 const | PositionDataI8 [VertexCount] |
std::size_t const | PositionSizeF16 = VertexCount * sizeof(glm::uint) |
std::size_t const | PositionSizeF32 = VertexCount * sizeof(glm::vec2) |
std::size_t const | PositionSizeI32 = VertexCount * sizeof(glm::i32vec2) |
std::size_t const | PositionSizeI8 = VertexCount * sizeof(glm::i8vec2) |
std::size_t const | VertexCount = 4 |
#define GLM_MESSAGES |
glm::vec3 computeNormal | ( | glm::vec3 const & | a, |
glm::vec3 const & | b, | ||
glm::vec3 const & | c | ||
) |
void glUniformMatrix4fv | ( | GLuint | , |
int | , | ||
int | , | ||
float * | |||
) |
glm::uint const PositionDataF16[VertexCount] |
{ glm::uint(glm::packUnorm2x16(glm::vec2(-1.0f, -1.0f))), glm::uint(glm::packUnorm2x16(glm::vec2( 1.0f, -1.0f))), glm::uint(glm::packUnorm2x16(glm::vec2( 1.0f, 1.0f))), glm::uint(glm::packUnorm2x16(glm::vec2(-1.0f, 1.0f))) }
glm::vec2 const PositionDataF32[VertexCount] |
{ glm::i32vec2 (-1,-1), glm::i32vec2 ( 1,-1), glm::i32vec2 ( 1, 1), glm::i32vec2 (-1, 1) }
glm::i8vec2 const PositionDataI8[VertexCount] |
{ glm::i8vec2(-1,-1), glm::i8vec2( 1,-1), glm::i8vec2( 1, 1), glm::i8vec2(-1, 1) }
std::size_t const PositionSizeF16 = VertexCount * sizeof(glm::uint) |
std::size_t const PositionSizeF32 = VertexCount * sizeof(glm::vec2) |
std::size_t const PositionSizeI32 = VertexCount * sizeof(glm::i32vec2) |
std::size_t const PositionSizeI8 = VertexCount * sizeof(glm::i8vec2) |
std::size_t const VertexCount = 4 |