This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Unity.Mathematics; | |
using Unity.Rendering; | |
using UnityEngine; | |
namespace Realms | |
{ | |
/// <summary> | |
/// Based on Unity.Rendering.FrustumPlanes since those aren't public for some reason. | |
/// </summary> | |
public struct FrustumPlanes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Unity.Entities; | |
using Unity.Mathematics; | |
//---------------------------------------------------------------------------------------- | |
[System.Serializable] | |
public struct ModelMatrix : IComponentData | |
{ | |
public float4x4 Value | |
} | |
public class ModelMatrixComponent : ComponentDataWrapper<ModelMatrix> { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using MoonSharp.Interpreter; | |
namespace PerformanceComparison | |
{ | |
class Sample |