function can be const
This commit is contained in:
parent
7db391195d
commit
e66afd23b4
2 changed files with 2 additions and 2 deletions
|
@ -321,7 +321,7 @@ bool Atlas::getGlyphGeometryPair(const unsigned char character,
|
||||||
const FontVariation variation,
|
const FontVariation variation,
|
||||||
GlyphGeometry & a,
|
GlyphGeometry & a,
|
||||||
GlyphGeometry & b,
|
GlyphGeometry & b,
|
||||||
float & mix){
|
float & mix) const {
|
||||||
float smallestDistanceDown = -1 * FLT_MAX;
|
float smallestDistanceDown = -1 * FLT_MAX;
|
||||||
float smallestDistanceUp = FLT_MAX;
|
float smallestDistanceUp = FLT_MAX;
|
||||||
int closestIndexDown = 0;
|
int closestIndexDown = 0;
|
||||||
|
|
|
@ -98,7 +98,7 @@ class Atlas {
|
||||||
const FontVariation variation,
|
const FontVariation variation,
|
||||||
GlyphGeometry & a,
|
GlyphGeometry & a,
|
||||||
GlyphGeometry & b,
|
GlyphGeometry & b,
|
||||||
float & mix);
|
float & mix) const;
|
||||||
|
|
||||||
//const GlyphGeometry & getGlyphGeometry(GlyphVariationKey key);
|
//const GlyphGeometry & getGlyphGeometry(GlyphVariationKey key);
|
||||||
const FontGeometry & getFontGeometry();
|
const FontGeometry & getFontGeometry();
|
||||||
|
|
Loading…
Reference in a new issue