mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
minimize defines
This commit is contained in:
parent
e0eacb51be
commit
e45d85bc5a
17 changed files with 92 additions and 86 deletions
|
|
@ -29,7 +29,7 @@ bool Font::isPrintableChar(int c) {
|
|||
}
|
||||
}
|
||||
|
||||
#define RES 16
|
||||
const int RES = 16;
|
||||
|
||||
int Font::calcWidth(std::wstring text) {
|
||||
return text.length() * 8;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue