mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-08-13 01:40:05 +00:00
initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4
This commit is contained in:
commit
3096eaf5e2
2519 changed files with 816064 additions and 0 deletions
18
ExternalLibs/FTGL/src/FTGlyph.cpp
Normal file
18
ExternalLibs/FTGL/src/FTGlyph.cpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
#include "FTGlyph.h"
|
||||
|
||||
|
||||
FTGlyph::FTGlyph( FT_GlyphSlot glyph, bool useList)
|
||||
: useDisplayList(useList),
|
||||
err(0)
|
||||
{
|
||||
if( glyph)
|
||||
{
|
||||
bBox = FTBBox( glyph);
|
||||
advance = FTPoint( glyph->advance.x / 64.0f, glyph->advance.y / 64.0f, 0.0f);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
FTGlyph::~FTGlyph()
|
||||
{}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue