xcal
基于 C++23 的现代图形渲染引擎
载入中...
搜索中...
未找到
axis.hpp
浏览该文件的文档.
1#pragma once
2#include <xcal/public.h>
3
9#include <xcmath/xcmath.hpp>
10
12class XCAL_API Axis3D : public Object {
13 public:
15
16 private:
17 GL::Buffer vbo_;
19 std::shared_ptr<GL::ShaderProgram> shader_program_;
20
21 public:
22 explicit Axis3D(mobject::Axis3D *mobject);
23 void create() override;
24 void destroy() override;
25 void render() const override;
26 void update_projection_view(
27 const xcmath::mat4<float_t> &projection_view) override;
28
29 Axis3D(const Axis3D &) = delete;
30};
31} // namespace xcal::render::opengl::object
Header file for matrix class template and related utilities
xcal::render::opengl::object::object_ptr create(T *mobject)
#define XCAL_OPENGL_REGIST_OBJECT(class_, type)
Definition object.hpp:44
#define XCAL_API
Definition public.h:69