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

Method Set

Source/Dimension.hpp:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 cDimension( unsigned int pWidth, unsigned int pHeight ) : mWidth( pWidth ), mHeight( pHeight ) {}
30
31 void Set( unsigned int pWidth, unsigned int pHeight ) { mWidth = pWidth; mHeight = pHeight; }
32
33 unsigned int WidthByHeight() { return mWidth * mHeight; }
34 int getWidth() const { return mWidth; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected