MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / getAreaPixels

Method getAreaPixels

Source/Map/Map.hpp:79–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 int32 getHeight() const { return static_cast<int32>(mParams.mHeight); }
78
79 int32 getAreaPixels() const { return getWidthPixels() * getHeightPixels(); }
80 int32 getWidthPixels() const { return static_cast<int32>(mParams.mWidth) << 4; }
81 int32 getHeightPixels() const { return static_cast<int32>(mParams.mHeight) << 4; }
82

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected