mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2026-08-15 02:57:49 +04:00
gl viewport
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System.Numerics;
|
||||
using NResUI.Rendering.Viewport.Meshes;
|
||||
|
||||
namespace NResUI.Rendering.Viewport;
|
||||
|
||||
public sealed class ViewportGrid
|
||||
{
|
||||
public GpuMesh Mesh { get; }
|
||||
public bool IsVisible { get; set; } = true;
|
||||
public Matrix4x4 LocalTransform { get; set; } = Matrix4x4.Identity;
|
||||
|
||||
public ViewportGrid(GpuMesh mesh)
|
||||
{
|
||||
Mesh = mesh;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user