xcal
基于 C++23 的现代图形渲染引擎
|
#include <line.hpp>
Public 类型 | |
using | vec = xcmath::vec< float_t, 3 > |
using | vec4 = xcmath::vec< float_t, 4 > |
Public 成员函数 | |
Line (float_t x1, float_t y1, float_t z1, float_t x2, float_t y2, float_t z2) | |
Line (const vec &start, const vec &end) | |
Line (float_t length) | |
const vec4 | start () const |
const vec4 | end () const |
const vec & | direct () const |
property::Vec< float_t, 3 > & | direct () |
vec4 | center () const |
~Line () override=default | |
![]() | |
ComposedMObject () | |
![]() | |
AbsMObject ()=default | |
默认构造函数 | |
bool | visible () const |
获取对象可见性状态(只读) | |
bool & | visible () |
获取对象可见性状态(可修改) | |
Type | type () const |
std::vector< property::MProperty * > & | properties () |
获取对象属性列表 | |
virtual | ~AbsMObject ()=default |
虚析构函数 | |
额外继承的成员函数 | |
![]() | |
template<class... Arg> requires (std::is_base_of_v<property::MProperty, Arg> && ...) | |
void | register_properties (Arg &... arg) |
注册属性到对象 | |
using xcal::mobject::Line::vec = xcmath::vec<float_t, 3> |
using xcal::mobject::Line::vec4 = xcmath::vec<float_t, 4> |
|
overridedefault |
|
inline |
|
inline |
|
inline |
|
inline |