Portability | portable |
---|---|
Stability | stable |
Maintainer | sven.panne@aedion.de |
This module corresponds to chapter 7 (NURBS) of the GLU specs.
Documentation
withNURBSObj :: a -> (NURBSObj -> GL a) -> GL aSource
type NURBSBeginCallback = PrimitiveMode -> GL ()Source
withNURBSBeginCallback :: NURBSObj -> NURBSBeginCallback -> GL a -> GL aSource
withNURBSVertexCallback :: NURBSObj -> NURBSVertexCallback -> GL a -> GL aSource
withNURBSNormalCallback :: NURBSObj -> NURBSNormalCallback -> GL a -> GL aSource
withNURBSColorCallback :: NURBSObj -> NURBSColorCallback -> GL a -> GL aSource
type NURBSEndCallback = GL ()Source
withNURBSEndCallback :: NURBSObj -> NURBSEndCallback -> GL a -> GL aSource
checkForNURBSError :: NURBSObj -> GL a -> GL aSource
nurbsBeginEndCurve :: NURBSObj -> GL a -> GL aSource
nurbsCurve :: ControlPoint c => NURBSObj -> GLint -> Ptr GLfloat -> GLint -> Ptr (c GLfloat) -> GLint -> GL ()Source
nurbsBeginEndSurface :: NURBSObj -> GL a -> GL aSource
nurbsSurface :: ControlPoint c => NURBSObj -> GLint -> Ptr GLfloat -> GLint -> Ptr GLfloat -> GLint -> GLint -> Ptr (c GLfloat) -> GLint -> GLint -> GL ()Source
nurbsBeginEndTrim :: NURBSObj -> GL a -> GL aSource
trimmingCurve :: TrimmingPoint c => NURBSObj -> GLint -> Ptr GLfloat -> GLint -> Ptr (c GLfloat) -> GLint -> GL ()Source
setNURBSCulling :: NURBSObj -> Capability -> GL ()Source
data SamplingMethod Source
setSamplingMethod :: NURBSObj -> SamplingMethod -> GL ()Source
loadSamplingMatrices :: (Matrix m1, Matrix m2) => NURBSObj -> Maybe (m1 GLfloat, m2 GLfloat, (Position, Size)) -> GL ()Source
data DisplayMode' Source
setDisplayMode' :: NURBSObj -> DisplayMode' -> GL ()Source