Botcraft 1.21.4
Loading...
Searching...
No Matches
Botcraft::Renderer::Scale Class Reference

#include <Transformation.hpp>

Inheritance diagram for Botcraft::Renderer::Scale:
Botcraft::Renderer::Transformation

Public Member Functions

 Scale (const float axis_x_=1.0f, const float axis_y_=1.0f, const float axis_z_=1.0f)
 
virtual void ApplyTransformation (IMatrix &m) const override
 
virtual const std::string Print () const override
 

Public Attributes

float axis_x
 
float axis_y
 
float axis_z
 

Detailed Description

Definition at line 47 of file Transformation.hpp.

Constructor & Destructor Documentation

◆ Scale()

Botcraft::Renderer::Scale::Scale ( const float  axis_x_ = 1.0f,
const float  axis_y_ = 1.0f,
const float  axis_z_ = 1.0f 
)

Definition at line 63 of file Transformation.cpp.

References axis_x, axis_y, and axis_z.

Member Function Documentation

◆ ApplyTransformation()

void Botcraft::Renderer::Scale::ApplyTransformation ( IMatrix m) const
overridevirtual

Implements Botcraft::Renderer::Transformation.

Definition at line 70 of file Transformation.cpp.

References axis_x, axis_y, and axis_z.

◆ Print()

const std::string Botcraft::Renderer::Scale::Print ( ) const
overridevirtual

Implements Botcraft::Renderer::Transformation.

Definition at line 75 of file Transformation.cpp.

References axis_x, axis_y, and axis_z.

Member Data Documentation

◆ axis_x

float Botcraft::Renderer::Scale::axis_x

Definition at line 55 of file Transformation.hpp.

Referenced by ApplyTransformation(), Print(), and Scale().

◆ axis_y

float Botcraft::Renderer::Scale::axis_y

Definition at line 56 of file Transformation.hpp.

Referenced by ApplyTransformation(), Print(), and Scale().

◆ axis_z

float Botcraft::Renderer::Scale::axis_z

Definition at line 57 of file Transformation.hpp.

Referenced by ApplyTransformation(), Print(), and Scale().


The documentation for this class was generated from the following files: