25 Lines::Lines(
const string&
id,
float lineWidth,
const vector<Vector3>& points,
const Color4& color,
const vector<Color4>& colors,
Texture* texture):
34 LinesInternal::setEngine(
engine);
39 LinesInternal::setTransform(transform);
45 LinesInternal::update();
52 if (this->enabled ==
enabled)
return;
67 LinesInternal::setEnabled(
enabled);
74 if (this->frustumCulling ==
true) {
Color 4 definition class.
unique_ptr< Partition > partition
void updateEntityRegistration(Entity *entity)
Updates registration of engine by performing deregisterEntity() and registerEntity()
void deregisterEntity(Entity *entity)
Removes a entity from internal lists, those entities can also be sub entities from entity hierarchy o...
void registerEntity(Entity *entity)
Adds a entity to internal lists, those entities can also be sub entities from entity hierarchy or par...
Lines entity to be used with engine class.
void update() override
Update transform.
void setTransform(const Transform &transform) override
Set transform.
void setFrustumCulling(bool frustumCulling) override
Set frustum culling.
void setEngine(Engine *engine) override
Set up engine.
void setEnabled(bool enabled) override
Enable/disable rendering.
Matrix4x4 class representing matrix4x4 mathematical structure and operations for 3d space.
Quaternion class representing quaternion mathematical structure and operations with x,...
Vector3 class representing vector3 mathematical structure and operations with x, y,...