Files
Z3D/source/opengl/handles/point_cloud_handle.ipp
2024-12-10 13:50:21 +01:00

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);
}
}