Fix build regression from #2299

This commit is contained in:
Wojtek Figat
2024-03-04 21:30:04 +01:00
parent 0604a0393d
commit e4583907e2
2 changed files with 9 additions and 4 deletions

View File

@@ -359,7 +359,7 @@ namespace FlaxEditor.SceneGraph
/// <param name="hitDistance">Hit distance from ray to object bounding box.</param>
/// <param name="result">The result point on the object mesh that is closest to the specified location.</param>
/// <returns>True if got a valid result value, otherwise false (eg. if missing data or not initialized).</returns>
public virtual bool OnVertexSnap(ref Ray ray, float hitDistance, out Vector3 result)
public virtual bool OnVertexSnap(ref Ray ray, Real hitDistance, out Vector3 result)
{
result = Vector3.Zero;
return false;