first commit

This commit is contained in:
2026-06-22 11:49:35 +02:00
commit d805f2ba86
619 changed files with 126873 additions and 0 deletions

View File

@ -0,0 +1,31 @@
/* -----------------------------------------------------------------------------
GSFramework
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
----------------------------------------------------------------------------- */
#ifndef __NSHAPE__
#define __NSHAPE__
#include "math/vector.h"
namespace GS {
/*!
@short Shape base class.
@author Emmanuel Julien (ejulien@gsworks.fr)
*/
struct Shape
{
/// Get shape center.
virtual Vector4 &GetCenter() const = 0;
/// Get distance to support point on a given direction.
virtual float GetSupportDistance(const Vector4 &) const = 0;
};
} // GS
#endif // __NSHAPE__