Removed Math::IntPoint
parent
60deb0328a
commit
f7c66741c6
|
@ -179,7 +179,6 @@ add_library(colobotbase STATIC
|
|||
math/geometry.h
|
||||
math/half.cpp
|
||||
math/half.h
|
||||
math/intpoint.h
|
||||
math/matrix.h
|
||||
math/point.h
|
||||
math/sphere.h
|
||||
|
|
|
@ -1,49 +0,0 @@
|
|||
/*
|
||||
* This file is part of the Colobot: Gold Edition source code
|
||||
* Copyright (C) 2001-2021, Daniel Roux, EPSITEC SA & TerranovaTeam
|
||||
* http://epsitec.ch; http://colobot.info; http://github.com/colobot
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see http://gnu.org/licenses
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file math/intpoint.h
|
||||
* \brief IntPoint struct
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cmath>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
// Math module namespace
|
||||
namespace Math
|
||||
{
|
||||
|
||||
/**
|
||||
* \struct IntPoint
|
||||
* \brief 2D Point with integer coords
|
||||
*
|
||||
* Analog of WinAPI's POINT struct.
|
||||
*/
|
||||
|
||||
// Temporary type alias
|
||||
using IntPoint = glm::ivec2;
|
||||
|
||||
|
||||
} // namespace Math
|
||||
|
Loading…
Reference in New Issue