daily update on 20241226 by nitload youmu
This commit is contained in:
@@ -50,7 +50,6 @@ namespace StgSharp.Graphics
|
||||
public abstract class RenderStream
|
||||
{
|
||||
|
||||
private protected (int x, int y, int z) _coordStretch;
|
||||
private protected ViewPort primeArgs;
|
||||
private Camera nativeCamera;
|
||||
internal TimeSpanProvider _timeProvider;
|
||||
@@ -86,8 +85,6 @@ namespace StgSharp.Graphics
|
||||
get => primeArgs.Name;
|
||||
}
|
||||
|
||||
public Vec2 GlobalCoordSize => (( Width * 1.0f ) / _coordStretch.x, ( Height * 1.0f ) / _coordStretch.y);
|
||||
|
||||
public ViewPort BindedViewPortContext
|
||||
{
|
||||
get => primeArgs;
|
||||
@@ -152,7 +149,7 @@ namespace StgSharp.Graphics
|
||||
{
|
||||
TTarget target = new TTarget();
|
||||
target.Initialize(
|
||||
source.BindedViewPortContext, source._coordStretch,
|
||||
source.BindedViewPortContext,
|
||||
source._timeProvider );
|
||||
return target;
|
||||
}
|
||||
@@ -204,7 +201,6 @@ namespace StgSharp.Graphics
|
||||
|
||||
public void Initialize(
|
||||
ViewPort v,
|
||||
(int, int, int) unitCubeSize,
|
||||
TimeSpanProvider timeProvider )
|
||||
{
|
||||
if( v == null ) {
|
||||
@@ -212,7 +208,6 @@ namespace StgSharp.Graphics
|
||||
}
|
||||
primeArgs = v;
|
||||
this._timeProvider = timeProvider;
|
||||
_coordStretch = unitCubeSize;
|
||||
nativeCamera = new Camera();
|
||||
PlatformSpecifiedInitialize();
|
||||
CustomizeInit();
|
||||
|
||||
Reference in New Issue
Block a user