initial commit
This commit is contained in:
16
source/opengl/handles/point_cloud_handle.ipp
Normal file
16
source/opengl/handles/point_cloud_handle.ipp
Normal file
@@ -0,0 +1,16 @@
|
||||
#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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user