22 lines
214 B
C++
22 lines
214 B
C++
#pragma once
|
|
|
|
#include <util/glsl_types.hpp>
|
|
|
|
using namespace glsl;
|
|
|
|
|
|
enum Shape {
|
|
eSPHERE,
|
|
eBOX,
|
|
ePLANE,
|
|
};
|
|
|
|
struct Object {
|
|
vec4 center;
|
|
vec4 dimensions;
|
|
uint id;
|
|
Shape shape;
|
|
float pad0;
|
|
float pad1;
|
|
};
|