mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
fix build
x2t compiled
This commit is contained in:
@ -41,14 +41,6 @@
|
||||
|
||||
using namespace ODRAW;
|
||||
|
||||
static double FixedPointToDouble(unsigned int op)
|
||||
{
|
||||
short Integral = op >> 16;
|
||||
unsigned short Fractional = op - (Integral << 16);
|
||||
|
||||
return Integral + (Fractional / 65536.0);
|
||||
}
|
||||
|
||||
_3dOptions::_3dOptions() : bEnabled(false), bMetallic(false), bExtrusionColor(false), bLightFace(true),
|
||||
bConstrainRotation(true), bRotationCenterAuto(false), bParallel(true), bFillHarsh(true), bKeyHarsh(true),
|
||||
nRenderMode(0), dSpecularAmt(0), nEdgeThickness(0x0000319C), nExtrudeForward(0), nExtrudeBackward(0x0006F9F0),
|
||||
|
||||
@ -37,6 +37,14 @@
|
||||
|
||||
using namespace ODRAW;
|
||||
|
||||
static double FixedPointToDouble(unsigned int op)
|
||||
{
|
||||
short Integral = op >> 16;
|
||||
unsigned short Fractional = op - (Integral << 16);
|
||||
|
||||
return Integral + (Fractional / 65536.0);
|
||||
}
|
||||
|
||||
#define DEFINE_PPTSHAPE_BASE(Class) \
|
||||
class Class : public CPPTShape \
|
||||
{ \
|
||||
|
||||
Reference in New Issue
Block a user