/
redgpu
/
GDMagArchive
Обзор
Документация
Войти
/
redgpu
/
GDMagArchive
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
aug00/sharp/math/DimRectangle.h
21 строка
414 B
Don Williamson
first commit
31 окт 2016, 17:03
31 окт 2016, 17:03
c823e7b
Код
Авторство
О чём код?
#ifndef DIMRECTANGLE_H #define DIMRECTANGLE_H // This is a little helper class to store the dimensions of a rectangle. class DimRectangle { public: DimRectangle(float minX = 0, float minY = 0, float maxX = 0, float maxY = 0) { this->minX = minX; this->minY = minY; this->sizeX = maxX-minX; this->sizeY = maxY-minY; } float minX, minY, sizeX, sizeY; protected: }; #endif //DIMRECTANGLE_H