Euphoria
eu::Scale2f Struct Reference

#include <vec2.h>

Public Member Functions

 Scale2f (float ax, float ay)
 
 Scale2f (const std::tuple< float, float > &a)
 
bool operator== (const Scale2f &rhs)=delete
 
float * get_data_ptr ()
 
Scale2f get_rotated (const Angle &a) const
 
const float * get_data_ptr () const
 
Scale2f get_flipped_y () const
 
Scale2f operator- () const
 

Public Attributes

float x
 
float y
 

Detailed Description

Definition at line 136 of file vec2.h.

Constructor & Destructor Documentation

◆ Scale2f() [1/2]

eu::Scale2f::Scale2f ( float  ax,
float  ay 
)

Definition at line 256 of file vec2.cc.

◆ Scale2f() [2/2]

eu::Scale2f::Scale2f ( const std::tuple< float, float > &  a)
explicit

Definition at line 262 of file vec2.cc.

Member Function Documentation

◆ get_data_ptr() [1/2]

float * eu::Scale2f::get_data_ptr ( )

Definition at line 269 of file vec2.cc.

◆ get_data_ptr() [2/2]

const float * eu::Scale2f::get_data_ptr ( ) const

Definition at line 275 of file vec2.cc.

◆ get_flipped_y()

Scale2f eu::Scale2f::get_flipped_y ( ) const

Definition at line 289 of file vec2.cc.

◆ get_rotated()

Scale2f eu::Scale2f::get_rotated ( const Angle a) const

Definition at line 281 of file vec2.cc.

◆ operator-()

Scale2f eu::Scale2f::operator- ( ) const

Definition at line 295 of file vec2.cc.

◆ operator==()

bool eu::Scale2f::operator== ( const Scale2f rhs)
delete

Member Data Documentation

◆ x

float eu::Scale2f::x

Definition at line 138 of file vec2.h.

◆ y

float eu::Scale2f::y

Definition at line 139 of file vec2.h.


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