Batch #1843 by ragnarok-clanker: 1 byte-identical, 8 confirmed by peer review. - fn_02024 ClientRadians: logic confirmed by peer review - fn_17668 WorldScene::GetGameActorByAID: logic confirmed by peer review - fn_21057 CRenderObject::GetTargetPos: logic confirmed by peer review - fn_17667 WorldScene::GetGameActorByAidIncludeMe: logic confirmed by peer review - fn_21290 CGameMode::NotifyItemBounds: logic confirmed by peer review - fn_03089 CEffect::Slot25: logic confirmed by peer review - fn_08405 CellWorldPosition: logic confirmed by peer review - fn_19762 EffectPrimitiveSlot::EffectPrimitiveSlot: byte-identical (already on main) - fn_19865 DrawEffectPrimitive15: logic confirmed by peer review Peer-reviewed-by: Yommy, eAthena, ragnarok-clanker Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
17 lines
344 B
C
17 lines
344 B
C
#ifndef RAGNAROK_SOURCE_UTILITY_MATH_VECTOR3D_H
|
|
#define RAGNAROK_SOURCE_UTILITY_MATH_VECTOR3D_H
|
|
|
|
#include <cstddef>
|
|
|
|
struct vector3d {
|
|
/* 0000 */ float x;
|
|
/* 0004 */ float y;
|
|
/* 0008 */ float z;
|
|
};
|
|
|
|
static_assert(sizeof(vector3d) == 12);
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(vector3d, z) == 0x8);
|
|
#endif
|
|
|
|
#endif
|