MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / AddOffset

Method AddOffset

engine/Poseidon/AI/ArcadeTemplate.cpp:286–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286void ArcadeUnitInfo::AddOffset(Vector3Par offset)
287{
288 position += offset;
289 position[1] = GLOB_LAND->RoadSurfaceYAboveWater(position[0], position[2]);
290}
291
292void ArcadeUnitInfo::Rotate(Vector3Par center, float angle, bool sel)
293{

Callers 1

ClipboardPasteMethod · 0.45

Calls 2

SizeMethod · 0.45

Tested by

no test coverage detected