1#ifndef DANDELION_UTILS_RENDERING_HPP
2#define DANDELION_UTILS_RENDERING_HPP
16#define RGB_COLOR(r, g, b) (float)r / 255.0f, (float)g / 255.0f, (float)b / 255.0f
26constexpr unsigned int vertex_color_location = 1;
27constexpr unsigned int vertex_normal_location = 2;
61 WorkingMode::SIMULATE};
72 if (mode == enabled_mode) {
constexpr unsigned int vertex_position_location
定义 rendering.hpp:25
bool check_picking_enabled(WorkingMode mode)
判断指定模式是否允许拾取物体。
定义 rendering.hpp:69
WorkingMode
定义 rendering.hpp:46
constexpr WorkingMode picking_enabled_modes[]
允许拾取物体的模式。
定义 rendering.hpp:60
constexpr float line_width
定义 rendering.hpp:39
constexpr float point_size
定义 rendering.hpp:34