using System; using System.Collections.Generic; using System.Linq; using System.Text; using SharpGL.SceneGraph.Transformations; namespace SharpGL.SceneGraph.Core { /// <summary> /// A SceneElement can implement IHasObjectSpace to allow it to transform /// world space into object space. /// </summary> public interface IHasObjectSpace { /// <summary> /// Pushes us into Object Space using the transformation into the specified OpenGL instance. /// </summary> /// <param name="gl">The OpenGL instance.</param> void PushObjectSpace(OpenGL gl); /// <summary> /// Pops us from Object Space using the transformation into the specified OpenGL instance. /// </summary> /// <param name="gl">The gl.</param> void PopObjectSpace(OpenGL gl); /// <summary> /// Gets the transformation that pushes us into object space. /// </summary> LinearTransformation Transformation { get; } } }
By viewing downloads associated with this article you agree to the Terms of use and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)
Math Primers for Programmers