daily update on 20240901 by nitload youmu
This commit is contained in:
@@ -93,6 +93,11 @@ namespace StgSharp.Graphics
|
||||
get => primeArgs.Name;
|
||||
}
|
||||
|
||||
protected bool IsWaitingUserEvent
|
||||
{
|
||||
get => primeArgs.IsWaitingEvent;
|
||||
}
|
||||
|
||||
public vec2d GlobalCoordSize => ((Width * 1.0f) / _coordStretch.x, (Height * 1.0f) / _coordStretch.y);
|
||||
|
||||
public ViewPort Port
|
||||
@@ -155,6 +160,7 @@ namespace StgSharp.Graphics
|
||||
return target;
|
||||
}
|
||||
|
||||
/**/
|
||||
protected internal static void PollEvents()
|
||||
{
|
||||
InternalIO.glfwPollEvents();
|
||||
@@ -164,7 +170,7 @@ namespace StgSharp.Graphics
|
||||
{
|
||||
InternalIO.glfwSwapBuffers(CanvasHandle);
|
||||
}
|
||||
|
||||
/**/
|
||||
#region native camera operation
|
||||
protected abstract void NativeCameraViewRange(Radius fieldOfRange, vec2d offset, (float frontDepth, float backDepth) viewDepth);
|
||||
protected abstract void NativeCameraViewTarget(vec3d position, vec3d direction, vec3d up);
|
||||
@@ -211,6 +217,8 @@ namespace StgSharp.Graphics
|
||||
protected abstract void CustomizeInit();
|
||||
protected abstract void Main();
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region public resource generator
|
||||
|
||||
Reference in New Issue
Block a user