20 lines
367 B
C++
Executable File
20 lines
367 B
C++
Executable File
#pragma once
|
|
|
|
#include "GL/glew.h"
|
|
#include "util/uix.hpp"
|
|
|
|
namespace zgl
|
|
{
|
|
struct point_cloud_handle
|
|
{
|
|
inline void bind() const;
|
|
inline static void unbind();
|
|
|
|
GLuint vao_id{ 0 };
|
|
GLsizei point_count{ 0 };
|
|
};
|
|
}
|
|
|
|
#define INCLUDE_POINT_CLOUD_INSTANCE_IMPLEMENTATION
|
|
#include "opengl/handles/point_cloud_handle.ipp"
|
|
#undef INCLUDE_POINT_CLOUD_INSTANCE_IMPLEMENTATION |