[Plib-cvs] plib/src/sg sg.h,1.52,1.53
Brought to you by:
sjbaker
|
From: M?rten Str?m. <str...@us...> - 2003-11-13 15:35:45
|
Update of /cvsroot/plib/plib/src/sg
In directory sc8-pr-cvs1:/tmp/cvs-serv7226/src/sg
Modified Files:
sg.h
Log Message:
sgSphere and sgBox have public members.
Index: sg.h
===================================================================
RCS file: /cvsroot/plib/plib/src/sg/sg.h,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- sg.h 12 Nov 2003 12:39:16 -0000 1.52
+++ sg.h 13 Nov 2003 15:35:41 -0000 1.53
@@ -915,10 +915,11 @@
class sgSphere
{
+public:
sgVec3 center ;
SGfloat radius ;
-public:
+
sgSphere () { empty () ; }
const SGfloat *getCenter (void) const { return center ; }
@@ -966,10 +967,11 @@
class sgBox
{
+public:
sgVec3 min ;
sgVec3 max ;
-public:
+
sgBox () { empty () ; }
const SGfloat *getMin (void) const { return min ; }
@@ -2248,10 +2250,10 @@
class sgdSphere
{
+public:
sgdVec3 center ;
SGDfloat radius ;
-public:
const SGDfloat *getCenter (void) const { return center ; }
@@ -2298,10 +2300,10 @@
class sgdBox
{
+public:
sgdVec3 min ;
sgdVec3 max ;
-public:
const SGDfloat *getMin (void) const { return min ; }
const SGDfloat *getMax (void) const { return max ; }
|