MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / GetDotSize

Method GetDotSize

Source/DotGrid.cpp:68–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68float DotGrid::GetDotSize() const
69{
70 float xsize = float(mWidth) / mCols;
71 float ysize = float(mHeight) / mRows;
72 return std::min(xsize, ysize);
73}
74
75void DotGrid::Render()
76{

Callers 1

DrawModuleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected