You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
358 B
28 lines
358 B
|
|
#pragma once |
|
|
|
#include <GL/glew.h> |
|
#include <glm/glm.hpp> |
|
|
|
|
|
struct render_object |
|
{ |
|
glm::mat4 node_xform; |
|
|
|
GLuint tex_id; |
|
GLuint vertex_buffer_id; |
|
GLuint normal_buffer_id; |
|
GLuint uv_buffer_id; |
|
GLuint index_buffer_id; |
|
}; |
|
|
|
struct point_light |
|
{ |
|
uint light_ID; |
|
glm::vec3 position; |
|
glm::vec3 color; |
|
float intensity; |
|
}; |
|
|
|
void roFree(render_object* ro); |
|
|
|
|