wren
Vulkan-based game engine
Loading...
Searching...
No Matches
wren::scene::components::Transform Struct Reference

#include <transform.hpp>

Collaboration diagram for wren::scene::components::Transform:

Public Member Functions

auto matrix () const
auto right () const
auto up () const
auto forward () const

Public Attributes

math::Vec3f position = {0, 0, 0}
math::Vec3f rotation = {0, 0, 0}
math::Vec3f scale = {1, 1, 1}

Member Function Documentation

◆ forward()

auto wren::scene::components::Transform::forward ( ) const
inlinenodiscard

◆ matrix()

auto wren::scene::components::Transform::matrix ( ) const
inlinenodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ right()

auto wren::scene::components::Transform::right ( ) const
inlinenodiscard

◆ up()

auto wren::scene::components::Transform::up ( ) const
inlinenodiscard

Member Data Documentation

◆ position

math::Vec3f wren::scene::components::Transform::position = {0, 0, 0}

◆ rotation

math::Vec3f wren::scene::components::Transform::rotation = {0, 0, 0}

◆ scale

math::Vec3f wren::scene::components::Transform::scale = {1, 1, 1}

The documentation for this struct was generated from the following file: