Main Page Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members Related Pages
common.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 # ifndef OPENVRML_COMMON_H
00022 # define OPENVRML_COMMON_H
00023
00024 # if defined(_WIN32)
00025 # if defined(DLL_EXPORT)
00026 # define OPENVRML_SCOPE __declspec(dllexport)
00027 # elif defined(OPENVRML_DLL_IMPORT)
00028 # define OPENVRML_SCOPE __declspec(dllimport)
00029 # endif
00030 # endif
00031 # if !defined(OPENVRML_SCOPE)
00032 # define OPENVRML_SCOPE
00033 # endif
00034
00035 namespace OpenVRML {
00036
00037 const double pi = 3.14159265358979323846;
00038 const double pi_2 = 1.57079632679489661923;
00039 const double pi_4 = 0.78539816339744830962;
00040 const double inv_pi = 0.31830988618379067154;
00041 }
00042
00043 # endif