All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
KzcRectangle Struct Reference

Structure for rectangle. More...

#include <core/util/math/kzc_rectangle.h>

Public Member Functions

 KzcRectangle ()
 
 KzcRectangle (kzFloat xArg, kzFloat yArg, kzFloat widthArg, kzFloat heightArg)
 
 KzcRectangle (const struct KzcVector2 &offset, const struct KzcVector2 &size)
 

Public Attributes

kzFloat x
 X-coordinate for rectangle left side. More...
 
kzFloat y
 Y-coordinate for rectangle top side. More...
 
kzFloat width
 Width of the rectangle. More...
 
kzFloat height
 Height of the rectangle. More...
 

Detailed Description

Structure for rectangle.

Constructor & Destructor Documentation

KzcRectangle::KzcRectangle ( )
inline
KzcRectangle::KzcRectangle ( kzFloat  xArg,
kzFloat  yArg,
kzFloat  widthArg,
kzFloat  heightArg 
)
inline
KzcRectangle::KzcRectangle ( const struct KzcVector2 offset,
const struct KzcVector2 size 
)
inline

Member Data Documentation

kzFloat KzcRectangle::x

X-coordinate for rectangle left side.

kzFloat KzcRectangle::y

Y-coordinate for rectangle top side.

kzFloat KzcRectangle::width

Width of the rectangle.

kzFloat KzcRectangle::height

Height of the rectangle.


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