Update ooo320-m1
[ooovba.git] / svx / inc / globl3d.hxx
blobb914ab65d18dcc43c06305938c048e7c22f643c9
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: globl3d.hxx,v $
10 * $Revision: 1.6 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _E3D_GLOBL3D_HXX
32 #define _E3D_GLOBL3D_HXX
34 #include <tools/solar.h>
36 //#define ESODEBUG
37 #define E3D_STREAMING
39 const double PrecisionLimit = 1.0e-14;
41 const UINT32 E3dInventor = UINT32('E')*0x00000001+
42 UINT32('3')*0x00000100+
43 UINT32('D')*0x00010000+
44 UINT32('1')*0x01000000;
46 const UINT16 E3D_SCENE_ID = 1;
47 const UINT16 E3D_POLYSCENE_ID = 2;
48 const UINT16 E3D_OBJECT_ID = 3; // should not be used, it's only a helper class for E3DScene and E3DCompoundObject
49 const UINT16 E3D_CUBEOBJ_ID = 4;
50 const UINT16 E3D_SPHEREOBJ_ID = 5;
51 const UINT16 E3D_EXTRUDEOBJ_ID = 6;
52 const UINT16 E3D_LATHEOBJ_ID = 7;
53 const UINT16 E3D_COMPOUNDOBJ_ID = 8;
54 const UINT16 E3D_POLYGONOBJ_ID = 9;
56 #endif // _E3D_GLOBL3D_HXX