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