17 lines
297 B
C++
17 lines
297 B
C++
#ifndef INCLUDE_POINT_CLOUD_INSTANCE_IMPLEMENTATION
|
|
#error Never include this file directly include 'point_cloud_handle.hpp'
|
|
#endif
|
|
|
|
namespace zgl
|
|
{
|
|
inline void point_cloud_handle::bind() const
|
|
{
|
|
glBindVertexArray(vao_id);
|
|
}
|
|
|
|
inline void point_cloud_handle::unbind()
|
|
{
|
|
glBindVertexArray(0);
|
|
}
|
|
}
|