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
 

Public Attributes

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

Member Function Documentation

◆ 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
Here is the call graph for this function:

◆ up()

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

Member Data Documentation

◆ position

math::Vec3f wren::scene::components::Transform::position = math::Vec3f(0, 0, -1)

◆ rotation

math::Vec3f wren::scene::components::Transform::rotation {}

◆ scale

math::Vec3f wren::scene::components::Transform::scale

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