Skip to content

Commit

Permalink
xrCore/_sphere: Fixed compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaffeine committed Nov 6, 2015
1 parent 60ae9dd commit 3f65531
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/xrCore/_sphere.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#ifndef _F_SPHERE_H_
#define _F_SPHERE_H_

template <class T> struct _sphere;

typedef _sphere<float> Fsphere;
typedef _sphere<double> Dsphere;

template <class T>
struct _sphere
{
Expand Down Expand Up @@ -162,9 +167,6 @@ struct _sphere
}
};

typedef _sphere<float> Fsphere;
typedef _sphere<double> Dsphere;

template <class T>
BOOL _valid(const _sphere<T>& s) { return _valid(s.P) && _valid(s.R); }

Expand Down

0 comments on commit 3f65531

Please sign in to comment.