fix build

x2t compiled
This commit is contained in:
Vikulov Dmitry
2022-12-14 21:44:42 +03:00
parent c0a833fac6
commit e77311983a
2 changed files with 8 additions and 8 deletions

View File

@ -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),

View File

@ -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 \
{ \