28 lines
550 B
C++
28 lines
550 B
C++
/*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "Math/Math.hpp"
|
|
|
|
namespace OpenVulkano::Scene
|
|
{
|
|
struct GlyphInfo
|
|
{
|
|
//GlyphGeometry geometry;
|
|
//GlyphBox glyphBox;
|
|
Math::Vector3f_SIMD xyz[4] = {};
|
|
Math::Vector2f_SIMD uv[4] = {};
|
|
double advance = 0;
|
|
};
|
|
|
|
struct AtlasMetadata
|
|
{
|
|
// vertical difference between baselines
|
|
double lineHeight = 0;
|
|
};
|
|
|
|
} |