]> git.mxchange.org Git - simgear.git/blobdiff - Math/mat3.h
Prepairing for C++ integration.
[simgear.git] / Math / mat3.h
index 58c4b9e07fd16f636ba96798dfffebeb3167392f..dd4e67db88ad9d90e54a506c4684a4cc71cb3330 100644 (file)
@@ -7,6 +7,10 @@
 #ifndef MAT3_HAS_BEEN_INCLUDED
 #define MAT3_HAS_BEEN_INCLUDED
 
+#ifdef __cplusplus                                                          
+extern "C" {                            
+#endif                                   
+
 /* -----------------------------  Constants  ------------------------------ */
 
 /*
@@ -143,5 +147,9 @@ 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 */