Makefile.am SGMathTest.cxx SGQuat.hxx SGVec3.hxx Added Files: SGBox.hxx SGGeometry.hxx SGGeometryFwd.hxx SGGeometryTest.cxx SGIntersect.hxx SGLineSegment.hxx SGPlane.hxx SGRay.hxx SGSphere.hxx SGTriangle.hxx: Small updates to the vector code, new geometry and collision classes for use with a bv tree to speed up collission tests. Also included is a rought unit test for the collissions.
39 lines
1.2 KiB
C++
39 lines
1.2 KiB
C++
// Copyright (C) 2006 Mathias Froehlich - Mathias.Froehlich@web.de
|
|
//
|
|
// This library is free software; you can redistribute it and/or
|
|
// modify it under the terms of the GNU Library General Public
|
|
// License as published by the Free Software Foundation; either
|
|
// version 2 of the License, or (at your option) any later version.
|
|
//
|
|
// This library 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
|
|
// Library General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program; if not, write to the Free Software
|
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
//
|
|
|
|
#ifndef SGGeometry_HXX
|
|
#define SGGeometry_HXX
|
|
|
|
// Required ...
|
|
#include "SGMath.hxx"
|
|
|
|
// Make sure all is defined
|
|
#include "SGGeometryFwd.hxx"
|
|
|
|
// Geometric primitives we know about
|
|
#include "SGBox.hxx"
|
|
#include "SGSphere.hxx"
|
|
#include "SGRay.hxx"
|
|
#include "SGLineSegment.hxx"
|
|
#include "SGPlane.hxx"
|
|
#include "SGTriangle.hxx"
|
|
|
|
// Intersection tests
|
|
#include "SGIntersect.hxx"
|
|
|
|
#endif
|