draw  0.0.0
Public Member Functions | Public Attributes | List of all members
draw::Vector2 Struct Reference

Floating-point 2D-vector. More...

#include <draw.h>

Public Member Functions

 Vector2 ()=default
 construct from zero values More...
 
 Vector2 (float x, float y)
 construct from parameters More...
 

Public Attributes

float x {0.0f}
 
float y {0.0f}
 

Detailed Description

Floating-point 2D-vector.

Constructor & Destructor Documentation

draw::Vector2::Vector2 ( )
default

construct from zero values

draw::Vector2::Vector2 ( float  x,
float  y 
)
inline

construct from parameters

Member Data Documentation

float draw::Vector2::x {0.0f}
float draw::Vector2::y {0.0f}

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