]> git.mxchange.org Git - simgear.git/commitdiff
Moved the extern "C" { } until after all the includes have been done.
authorcurt <curt>
Thu, 7 May 1998 23:20:45 +0000 (23:20 +0000)
committercurt <curt>
Thu, 7 May 1998 23:20:45 +0000 (23:20 +0000)
Math/mat3.h

index dd4e67db88ad9d90e54a506c4684a4cc71cb3330..89148b1c5b1f14d65cf7861568c3f8b455830bcd 100644 (file)
@@ -7,10 +7,6 @@
 #ifndef MAT3_HAS_BEEN_INCLUDED
 #define MAT3_HAS_BEEN_INCLUDED
 
-#ifdef __cplusplus                                                          
-extern "C" {                            
-#endif                                   
-
 /* -----------------------------  Constants  ------------------------------ */
 
 /*
@@ -23,6 +19,11 @@ extern "C" {
 #include <stdio.h>
 
 
+#ifdef __cplusplus                                                          
+extern "C" {                            
+#endif                                   
+
+
 #define MAT3_DET0      -1                      /* Indicates singular mat */
 #define MAT3_EPSILON   1e-12                   /* Close enough to zero   */
 #define MAT3_PI        3.141592653589793       /* Pi                     */
@@ -147,9 +148,11 @@ int                MAT3mult_hvec (MAT3hvec result_vec, MAT3hvec vec, MAT3mat mat, int normaliz
 void           MAT3cross_product(MAT3vec result,MAT3vec,MAT3vec);
 void           MAT3perp_vec(MAT3vec result_vec, MAT3vec vec, int is_unit);
 
+
 #ifdef __cplusplus
 }
 #endif
 
+
 #endif /* MAT3_HAS_BEEN_INCLUDED */