28 lines
359 B
C#
28 lines
359 B
C#
using System;
|
|
|
|
using org.budnhead.graphics;
|
|
|
|
using OpenTK.Graphics.OpenGL;
|
|
|
|
namespace org.budnhead
|
|
{
|
|
public class SceneInScene : Control
|
|
{
|
|
Scene scene;
|
|
|
|
public SceneInScene()
|
|
{
|
|
}
|
|
|
|
public override void paintControl()
|
|
{
|
|
if (scene != null){
|
|
|
|
// ToDo: Prepare Transformation Matrix and Clipping
|
|
// ... scene.draw();
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|