123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: t; c-basic-offset: 3 -*- */
- /*================================================================
- *
- * Project : libHel
- * Author : Terry 'Mongoose' Hendrix II
- * Website : http://www.westga.edu/~stu7440/
- * Email : stu7440@westga.edu
- * Object : BoundingVolume
- * License : No use w/o permission (C) 2002 Mongoose
- * Comments: Bounding volume class for world/vis
- * culling/clipping/collision stuff
- *
- *
- * This file was generated using Mongoose's C++
- * template generator script. <stu7440@westga.edu>
- *
- *-- Test Defines -----------------------------------------------
- *
- * UNIT_TEST_BOUNDINGVOLUME - Builds BoundingVolume class unit test
- *
- *-- History ------------------------------------------------
- *
- * 2002.11.27:
- * Mongoose - Created
- ================================================================*/
-
-
- #ifndef _BOUNDINGVOLUME_H_
- #define _BOUNDINGVOLUME_H_
-
- #include <MatMath.h>
-
-
- class BoundingSphere
- {
- public:
- vec3_t mCenter; /* Center of bounding sphere */
-
- vec_t mRadius; /* Raduis of bounding sphere */
- };
-
-
- class BoundingBox
- {
- public:
- vec3_t mMin; /* Bounding box MIN point */
-
- vec3_t mMax; /* Bounding box MAX point */
- };
-
-
- class BoundingVolume
- {
- public:
-
- ////////////////////////////////////////////////////////////
- // Constructors
- ////////////////////////////////////////////////////////////
-
-
- ////////////////////////////////////////////////////////////
- // Public Accessors
- ////////////////////////////////////////////////////////////
-
-
- ////////////////////////////////////////////////////////////
- // Public Mutators
- ////////////////////////////////////////////////////////////
-
-
- BoundingSphere mSphere; /* Bounding sphere of this volume */
-
- BoundingBox mBox; /* Bounding box of this volume */
-
- private:
-
- ////////////////////////////////////////////////////////////
- // Private Accessors
- ////////////////////////////////////////////////////////////
-
-
- ////////////////////////////////////////////////////////////
- // Private Mutators
- ////////////////////////////////////////////////////////////
-
-
- /* */
- };
-
- #endif
|