Skip to content

Engine → Scene → components.h

local_transform

Syntax

struct CONJURE_API local_transform

Variables

AccessNameTypeDefaultDescription
publicpositionmath::vec3math::vec3(0.0f)
publicrotationmath::quatmath::quat(1.0f, 0.0f, 0.0f, 0.0f)
publicscalemath::vec3math::vec3(1.0f)

Functions

Public

from_transform

[[nodiscard]] static local_transform from_transform(
    const math::transform &value) noexcept;

A local_transform holding the values of a math::transform.

to_transform

[[nodiscard]] math::transform to_transform() const noexcept;

The same values as a math::transform.

Operator Overloads

Public

operator==

[[nodiscard]] bool operator==(
    const local_transform &) const = default;