Add new commands.
This commit is contained in:
parent
3de9de4e2d
commit
39a9f67367
@ -22,13 +22,16 @@ namespace Quik.CommandQueue
|
||||
ConditionalEnd,
|
||||
|
||||
PushViewport,
|
||||
IntersectViewport,
|
||||
StoreViewport,
|
||||
PopViewport,
|
||||
|
||||
PushZ,
|
||||
IncrementZ,
|
||||
AddZ,
|
||||
StoreZ,
|
||||
DecrementZ,
|
||||
PopZ,
|
||||
|
||||
PushMatrix,
|
||||
StoreIdentityMatrix,
|
||||
|
@ -28,9 +28,14 @@ namespace Quik.CommandQueue
|
||||
Enqueue(Command.ConditionalEnd);
|
||||
}
|
||||
|
||||
public void PushViewport(in QuikRectangle viewport)
|
||||
public void PushViewport()
|
||||
{
|
||||
Enqueue(Command.PushViewport);
|
||||
}
|
||||
|
||||
public void IntersectViewport(in QuikRectangle viewport)
|
||||
{
|
||||
Enqueue(Command.IntersectViewport);
|
||||
Enqueue(viewport);
|
||||
}
|
||||
|
||||
@ -45,6 +50,11 @@ namespace Quik.CommandQueue
|
||||
Enqueue(Command.PopViewport);
|
||||
}
|
||||
|
||||
public void PushZ()
|
||||
{
|
||||
Enqueue(Command.PushZ);
|
||||
}
|
||||
|
||||
public void IncrementZ()
|
||||
{
|
||||
Enqueue(Command.IncrementZ);
|
||||
@ -78,6 +88,11 @@ namespace Quik.CommandQueue
|
||||
Enqueue(Command.DecrementZ);
|
||||
}
|
||||
|
||||
public void PopZ()
|
||||
{
|
||||
Enqueue(Command.PopZ);
|
||||
}
|
||||
|
||||
public void Line(in QuikLine line)
|
||||
{
|
||||
Enqueue(Command.Line);
|
||||
|
Loading…
Reference in New Issue
Block a user