]> git.mxchange.org Git - simgear.git/blobdiff - simgear/constants.h
canvas::Text: get maximum width (if displayed on a single line).
[simgear.git] / simgear / constants.h
index a1bb71cf1d2a845cb152dcaa6c757ca6f8328af9..8a93990733de36e61a5632862e460c474bdaeba8 100644 (file)
@@ -1,7 +1,7 @@
 // constants.h -- various constant definitions
 //
 // Written by Curtis Olson, started February 2000.
-// Last change by Eric van den Berg, Dec 2012
+// Last change by Eric van den Berg, Feb 2013
 //
 // Copyright (C) 2000  Curtis L. Olson - http://www.flightgear.org/~curt/
 //
@@ -122,6 +122,9 @@ const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
 /**specific gas constant of air*/
 #define SG_R_m2_p_s2_p_K      287.05   // m2/s2/K
 
+/**specific heat constant at constant pressure*/
+#define SG_cp_m2_p_s2_p_K 1004.68      // m2/s2/K   
+
 /**ratio of specific heats of air*/
 #define SG_gamma              1.4         // =cp/cv (cp = 1004.68 m2/s2 K , cv = 717.63 m2/s2 K)