vecmat3.cc fix for older compiler compatibility
This commit is contained in:
		
							parent
							
								
									4a08475527
								
							
						
					
					
						commit
						8079bd8820
					
				@ -18,11 +18,11 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "vecmat3.h"
 | 
					#include "vecmat3.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
using namespace LA_Vecmat3;
 | 
					namespace LA_Vecmat3 {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//http://en.wikipedia.org/wiki/Fast_inverse_square_root
 | 
					//http://en.wikipedia.org/wiki/Fast_inverse_square_root
 | 
				
			||||||
float LA_Vecmat3::fast_sqrtinv(float number )
 | 
					float fast_sqrtinv(float number )
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 long i;
 | 
					 long i;
 | 
				
			||||||
 float x2, y;
 | 
					 float x2, y;
 | 
				
			||||||
@ -518,3 +518,5 @@ INSTANTIZE2(float)
 | 
				
			|||||||
INSTANTIZE2(double)
 | 
					INSTANTIZE2(double)
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}//namespace
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user