Example #1
0
long
AssetManagerGlue::seekAsset(Asset& asset, long offset, int whence)
{
	return asset.seek(offset, (whence > 0) ? SEEK_END : (whence < 0 ? SEEK_SET : SEEK_CUR));
}