Files
2025-11-30 08:35:03 +02:00

13 lines
243 B
C#

using Newtonsoft.Json;
namespace GLTF.Utilities
{
internal static class JsonReaderExtensions
{
public static uint ReadDoubleAsUInt32(this JsonReader reader)
{
return (uint)System.Math.Round(reader.ReadAsDouble().Value);
}
}
}