Portability | portable |
---|---|
Stability | stable |
Maintainer | [email protected] |
Graphics.Rendering.OpenGL.GLU.NURBS
Description
This module corresponds to chapter 7 (NURBS) of the GLU specs.
Documentation
withNURBSObj :: a -> (NURBSObj -> IO a) -> IO aSource
type NURBSBeginCallback = PrimitiveMode -> IO ()Source
withNURBSBeginCallback :: NURBSObj -> NURBSBeginCallback -> IO a -> IO aSource
withNURBSVertexCallback :: NURBSObj -> NURBSVertexCallback -> IO a -> IO aSource
withNURBSNormalCallback :: NURBSObj -> NURBSNormalCallback -> IO a -> IO aSource
withNURBSColorCallback :: NURBSObj -> NURBSColorCallback -> IO a -> IO aSource
type NURBSEndCallback = IO ()Source
withNURBSEndCallback :: NURBSObj -> NURBSEndCallback -> IO a -> IO aSource
checkForNURBSError :: NURBSObj -> IO a -> IO aSource
nurbsBeginEndCurve :: NURBSObj -> IO a -> IO aSource
nurbsCurve :: ControlPoint c => NURBSObj -> GLint -> Ptr GLfloat -> GLint -> Ptr (c GLfloat) -> GLint -> IO ()Source
nurbsBeginEndSurface :: NURBSObj -> IO a -> IO aSource
nurbsSurface :: ControlPoint c => NURBSObj -> GLint -> Ptr GLfloat -> GLint -> Ptr GLfloat -> GLint -> GLint -> Ptr (c GLfloat) -> GLint -> GLint -> IO ()Source
class TrimmingPoint p Source
Instances
nurbsBeginEndTrim :: NURBSObj -> IO a -> IO aSource
trimmingCurve :: TrimmingPoint c => NURBSObj -> GLint -> Ptr GLfloat -> GLint -> Ptr (c GLfloat) -> GLint -> IO ()Source
Constructors
NURBSTessellator | |
NURBSRenderer |
setNURBSCulling :: NURBSObj -> Capability -> IO ()Source
data SamplingMethod Source
Constructors
PathLength GLfloat | |
ParametricError GLfloat | |
DomainDistance GLfloat GLfloat | |
ObjectPathLength GLfloat | |
ObjectParametricError GLfloat |
Instances
setSamplingMethod :: NURBSObj -> SamplingMethod -> IO ()Source
loadSamplingMatrices :: (Matrix m1, Matrix m2) => NURBSObj -> Maybe (m1 GLfloat, m2 GLfloat, (Position, Size)) -> IO ()Source
setDisplayMode' :: NURBSObj -> DisplayMode' -> IO ()Source