Botcraft 1.21.4
Loading...
Searching...
No Matches
Botcraft::Renderer::FaceTransformation Struct Reference

#include <Transformation.hpp>

Public Attributes

std::vector< ScalePtrscales
 
std::vector< TransformationPtrrotations
 
std::vector< TransformationPtrtranslations
 
unsigned char rotation = 0
 
float offset_x1 = 0
 
float offset_y1 = 0
 
float offset_x2 = 16
 
float offset_y2 = 16
 

Detailed Description

Definition at line 63 of file Transformation.hpp.

Member Data Documentation

◆ offset_x1

float Botcraft::Renderer::FaceTransformation::offset_x1 = 0

Definition at line 74 of file Transformation.hpp.

Referenced by Botcraft::Renderer::Face::Face(), and Botcraft::Model::Model().

◆ offset_x2

float Botcraft::Renderer::FaceTransformation::offset_x2 = 16

Definition at line 76 of file Transformation.hpp.

Referenced by Botcraft::Renderer::Face::Face(), and Botcraft::Model::Model().

◆ offset_y1

float Botcraft::Renderer::FaceTransformation::offset_y1 = 0

Definition at line 75 of file Transformation.hpp.

Referenced by Botcraft::Renderer::Face::Face(), and Botcraft::Model::Model().

◆ offset_y2

float Botcraft::Renderer::FaceTransformation::offset_y2 = 16

Definition at line 77 of file Transformation.hpp.

Referenced by Botcraft::Renderer::Face::Face(), and Botcraft::Model::Model().

◆ rotation

unsigned char Botcraft::Renderer::FaceTransformation::rotation = 0

Definition at line 71 of file Transformation.hpp.

Referenced by Botcraft::Renderer::Face::Face(), and Botcraft::Model::Model().

◆ rotations

std::vector<TransformationPtr> Botcraft::Renderer::FaceTransformation::rotations

◆ scales

std::vector<ScalePtr> Botcraft::Renderer::FaceTransformation::scales

◆ translations

std::vector<TransformationPtr> Botcraft::Renderer::FaceTransformation::translations

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