예제 #1
0
static double GetF64(PCBYTE &pb)
{
	union {
    	struct {
			DWORD 	lo;
			DWORD 	hi;
        } qw;
        double	d;
    } v;
    v.qw.hi = DWORD(GetS32(pb));
    v.qw.lo = DWORD(GetS32(pb));
    return v.d;
}
예제 #2
0
static double GetF32(PCBYTE &pb)
{
	union {
		DWORD 	dw;
        float	f;
    } v;
    v.dw = DWORD(GetS32(pb));
    return v.f;
}
예제 #3
0
	_S32 CConstObject::GetS32(const char* name, _U32 index) const
	{
		return GetS32(Zion::StringFormat("%s[%d]", name, index).c_str());
	}