Files
wowdecomp/Engine/Source/Tempest/C2iVector.cpp
T
SatyandClaude Opus 5.5 f6d07ea346 World port: liquids, map load chain, terrain rendering in MapViewer
Liquid system ported from 12340 (LiquidSystem module, chunk/WMO liquid, wave
manager, geometry factories); CMap load chain (Load, LoadWdt, low-detail WDL,
lights, CreateMapObjDef, PurgeMaps); CMapChunk create/batch/vertex/index code;
CMapRenderChunk; frustum stack and scene cull helpers. MapViewer renders
terrain through a viewer-only shortcut (ViewerWorld.cpp). Engine fix: int
render-state setters write the full pointer-sized slot (x64 texture crash).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-28 08:07:38 +02:00

15 lines
337 B
C++

#include <cstdlib>
#include "Engine/Source/Tempest/C2iVector.h"
// VERIFY: 22f22c58 auto
// OFFSET: 0x00984C70
uint32_t C2iVector::MajorAxis() const {
return abs(this->x) <= abs(this->y);
}
// VERIFY: f2fd55ef auto
// OFFSET: 0x006839F0
bool operator<(const C2iVector& l, const C2iVector& r) {
return l.x < r.x && l.y < r.y;
}