Add ultimate xr
This commit is contained in:
34
Assets/UltimateXR/Runtime/Scripts/Core/UxrConstants.Math.cs
Normal file
34
Assets/UltimateXR/Runtime/Scripts/Core/UxrConstants.Math.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
// --------------------------------------------------------------------------------------------------------------------
|
||||
// <copyright file="UxrConstants.Math.cs" company="VRMADA">
|
||||
// Copyright (c) VRMADA, All rights reserved.
|
||||
// </copyright>
|
||||
// --------------------------------------------------------------------------------------------------------------------
|
||||
using UltimateXR.Core.StateSave;
|
||||
using UltimateXR.Extensions.System;
|
||||
|
||||
namespace UltimateXR.Core
|
||||
{
|
||||
public static partial class UxrConstants
|
||||
{
|
||||
#region Public Types & Data
|
||||
|
||||
/// <summary>
|
||||
/// Math constants.
|
||||
/// </summary>
|
||||
public static class Math
|
||||
{
|
||||
#region Public Types & Data
|
||||
|
||||
/// <summary>
|
||||
/// Default precision threshold used by some functionality in the framework.
|
||||
/// <see cref="UxrStateSaveImplementer{T}" /> for example, avoids serializing changes in specific types when they
|
||||
/// didn't change using <see cref="ObjectExt.ValuesEqual(object,object,float)" />.
|
||||
/// </summary>
|
||||
public const float DefaultPrecisionThreshold = 0.0001f;
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user