daily update on 20240620 by nitload youmu

This commit is contained in:
Nitload
2024-06-20 07:47:00 +08:00
parent 7fb220c523
commit b2cb0cbddf
39 changed files with 1252 additions and 550 deletions
+5 -3
View File
@@ -181,7 +181,11 @@ namespace StgSharp.Graphics
return target;
}
BlueprintNodeAction IConvertableToBlueprintNode.MainExecution => InternalDraw;
public void ExecuteMain(in Dictionary<string, BlueprintPipeline> input, in Dictionary<string, BlueprintPipeline> output)
{
InternalDraw(in input, in output);
}
#region native camera operation
protected abstract void NativeCameraViewRange(Radius fieldOfRange, vec2d offset, (float frontDepth, float backDepth) viewDepth);
@@ -223,8 +227,6 @@ namespace StgSharp.Graphics
protected abstract Shader CreateShaderSegment(ShaderType type, int count);
protected abstract ShaderProgram CreateShaderProgram();
#endregion
+1
View File
@@ -28,6 +28,7 @@
//
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using StgSharp.Logic;
using StgSharp.Math;
using System;
+2 -1
View File
@@ -42,7 +42,7 @@ namespace StgSharp.Graphics
public class ViewPort
{
private int _width, _height;
internal ViewPort()
{
_height = 800;
@@ -118,5 +118,6 @@ namespace StgSharp.Graphics
InternalIO.glfwGetWindowSize(ViewPortID, wptr, hptr);
}
}
}
}