Classes | Macros | Typedefs | Functions | Variables
dummy.cpp File Reference
#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>
Include dependency graph for dummy.cpp:

Go to the source code of this file.

Classes

struct  intersection
 
struct  light
 
struct  material
 

Macros

#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
 

Macro Definition Documentation

◆ GL_FALSE

#define GL_FALSE   0

Definition at line 79 of file dummy.cpp.

◆ GLM_MESSAGES

#define GLM_MESSAGES

Definition at line 32 of file dummy.cpp.

Typedef Documentation

◆ GLuint

typedef unsigned int GLuint

Definition at line 78 of file dummy.cpp.

Function Documentation

◆ computeNormal()

glm::vec3 computeNormal ( glm::vec3 const &  a,
glm::vec3 const &  b,
glm::vec3 const &  c 
)

Definition at line 69 of file dummy.cpp.

◆ func()

void func ( GLuint  LocationMVP,
float  Translate,
glm::vec2 const &  Rotate 
)

Definition at line 88 of file dummy.cpp.

◆ glUniformMatrix4fv()

void glUniformMatrix4fv ( GLuint  ,
int  ,
int  ,
float *   
)

Definition at line 80 of file dummy.cpp.

◆ main()

int main ( )

Definition at line 188 of file dummy.cpp.

Variable Documentation

◆ PositionDataF16

glm::uint const PositionDataF16[VertexCount]
Initial value:
=
{
}
unsigned int uint
Definition: type_int.hpp:170
GLM_FUNC_DECL uint packUnorm2x16(vec2 const &v)

Definition at line 116 of file dummy.cpp.

◆ PositionDataF32

glm::vec2 const PositionDataF32[VertexCount]
Initial value:
=
{
glm::vec2(-1.0f,-1.0f),
glm::vec2( 1.0f,-1.0f),
glm::vec2( 1.0f, 1.0f),
glm::vec2(-1.0f, 1.0f)
}
highp_vec2 vec2
Definition: type_vec.hpp:387

Definition at line 107 of file dummy.cpp.

◆ PositionDataI32

glm::i32vec2 const PositionDataI32[VertexCount]
Initial value:
=
{
glm::i32vec2 (-1,-1),
glm::i32vec2 ( 1,-1),
glm::i32vec2 ( 1, 1),
glm::i32vec2 (-1, 1)
}
highp_i32vec2 i32vec2
Definition: fwd.hpp:558

Definition at line 134 of file dummy.cpp.

◆ PositionDataI8

glm::i8vec2 const PositionDataI8[VertexCount]
Initial value:
=
{
glm::i8vec2(-1,-1),
glm::i8vec2( 1,-1),
glm::i8vec2( 1, 1),
glm::i8vec2(-1, 1)
}
highp_i8vec2 i8vec2
Definition: fwd.hpp:399

Definition at line 125 of file dummy.cpp.

◆ PositionSizeF16

std::size_t const PositionSizeF16 = VertexCount * sizeof(glm::uint)

Definition at line 115 of file dummy.cpp.

◆ PositionSizeF32

std::size_t const PositionSizeF32 = VertexCount * sizeof(glm::vec2)

Definition at line 106 of file dummy.cpp.

◆ PositionSizeI32

std::size_t const PositionSizeI32 = VertexCount * sizeof(glm::i32vec2)

Definition at line 133 of file dummy.cpp.

◆ PositionSizeI8

std::size_t const PositionSizeI8 = VertexCount * sizeof(glm::i8vec2)

Definition at line 124 of file dummy.cpp.

◆ VertexCount

std::size_t const VertexCount = 4

Definition at line 104 of file dummy.cpp.



rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:38:58