Skip to content

Commit 3f65531

Browse files
committed
xrCore/_sphere: Fixed compilation.
1 parent 60ae9dd commit 3f65531

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/xrCore/_sphere.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#ifndef _F_SPHERE_H_
22
#define _F_SPHERE_H_
33

4+
template <class T> struct _sphere;
5+
6+
typedef _sphere<float> Fsphere;
7+
typedef _sphere<double> Dsphere;
8+
49
template <class T>
510
struct _sphere
611
{
@@ -162,9 +167,6 @@ struct _sphere
162167
}
163168
};
164169

165-
typedef _sphere<float> Fsphere;
166-
typedef _sphere<double> Dsphere;
167-
168170
template <class T>
169171
BOOL _valid(const _sphere<T>& s) { return _valid(s.P) && _valid(s.R); }
170172

0 commit comments

Comments
 (0)