Changeset 13041 for OpenSceneGraph/trunk/src/osgPlugins/geo/geoUnits.h
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/geo/geoUnits.h
r1385 r13041 3 3 NAME: geoUnits.h 4 4 5 DESCRIPTION: Constants to convert coordinate data to/from meters (Geo 5 DESCRIPTION: Constants to convert coordinate data to/from meters (Geo 6 6 default) 7 7 … … 10 10 ------------------------------------------------------------------------- 11 11 12 PROPRIETARY RIGHTS NOTICE: 13 12 PROPRIETARY RIGHTS NOTICE: 13 14 14 This software contains proprietary information and trade secrets of Carbon 15 Graphics LLC. No part or all of this software may be reproduced in any form, 16 without the written permission of Carbon Graphics LLC. 15 Graphics LLC. No part or all of this software may be reproduced in any form, 16 without the written permission of Carbon Graphics LLC. 17 17 18 18 Exception: 19 19 This Software file can be used by third-party software developers (without 20 using the Geo SDK libraries) for any purpose OTHER THAN loading Geo format 21 files into an application or executable (such as, though not limited to, 20 using the Geo SDK libraries) for any purpose OTHER THAN loading Geo format 21 files into an application or executable (such as, though not limited to, 22 22 geometry Modelers & animation systems) which is primarily intended to allow for 23 the CREATION or MODIFICATION of geometric or animation data. 24 25 Specifically,using this software (either all or part thereof) to aid in the 26 creation of a Geo format loader for a run-time system, game engine, toolkit 23 the CREATION or MODIFICATION of geometric or animation data. 24 25 Specifically,using this software (either all or part thereof) to aid in the 26 creation of a Geo format loader for a run-time system, game engine, toolkit 27 27 IG (Image Generation) System or any software where the PRIMARY purpose is 28 28 real-time image playback and interactivity and not Model Creation and/or 29 29 modification is permitted. 30 30 31 COPYRIGHT NOTICE: 32 31 COPYRIGHT NOTICE: 32 33 33 Copyright © 1998-2001 Carbon Graphics Llc, ALL RIGHTS RESERVED 34 34 … … 44 44 const float CM_TO_METERS = 0.01f; 45 45 const float MM_TO_METERS = 0.001f; 46 const float NM_TO_METERS = 1852.0f; 47 const float MILES_TO_METERS = 1609.344f; 46 const float NM_TO_METERS = 1852.0f; 47 const float MILES_TO_METERS = 1609.344f; 48 48 const float YARDS_TO_METERS = 0.9144f; 49 49 const float FEET_TO_METERS = 0.3048f; … … 65 65 const float FEET_TO_INCHES = 12.0f; 66 66 const float INCHES_TO_FEET = 0.083333333f; 67 const float INCHES_TO_CM = 2.54f; 67 const float INCHES_TO_CM = 2.54f; 68 68 69 69 const float MPH_TO_FPS = 1.4667f;
