Copyright | (c) Sven Panne 2002-2019 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module corresponds to chapter 6 (Quadrics) of the GLU specs.
Documentation
type QuadricNormal = Maybe ShadingModel Source #
data QuadricTexture Source #
Instances
Eq QuadricTexture Source # | |
Defined in Graphics.Rendering.OpenGL.GLU.Quadrics (==) :: QuadricTexture -> QuadricTexture -> Bool # (/=) :: QuadricTexture -> QuadricTexture -> Bool # | |
Ord QuadricTexture Source # | |
Defined in Graphics.Rendering.OpenGL.GLU.Quadrics compare :: QuadricTexture -> QuadricTexture -> Ordering # (<) :: QuadricTexture -> QuadricTexture -> Bool # (<=) :: QuadricTexture -> QuadricTexture -> Bool # (>) :: QuadricTexture -> QuadricTexture -> Bool # (>=) :: QuadricTexture -> QuadricTexture -> Bool # max :: QuadricTexture -> QuadricTexture -> QuadricTexture # min :: QuadricTexture -> QuadricTexture -> QuadricTexture # |
data QuadricOrientation Source #
Instances
Eq QuadricOrientation Source # | |
Defined in Graphics.Rendering.OpenGL.GLU.Quadrics (==) :: QuadricOrientation -> QuadricOrientation -> Bool # (/=) :: QuadricOrientation -> QuadricOrientation -> Bool # | |
Ord QuadricOrientation Source # | |
Defined in Graphics.Rendering.OpenGL.GLU.Quadrics compare :: QuadricOrientation -> QuadricOrientation -> Ordering # (<) :: QuadricOrientation -> QuadricOrientation -> Bool # (<=) :: QuadricOrientation -> QuadricOrientation -> Bool # (>) :: QuadricOrientation -> QuadricOrientation -> Bool # (>=) :: QuadricOrientation -> QuadricOrientation -> Bool # max :: QuadricOrientation -> QuadricOrientation -> QuadricOrientation # min :: QuadricOrientation -> QuadricOrientation -> QuadricOrientation # | |
Show QuadricOrientation Source # | |
Defined in Graphics.Rendering.OpenGL.GLU.Quadrics showsPrec :: Int -> QuadricOrientation -> ShowS # show :: QuadricOrientation -> String # showList :: [QuadricOrientation] -> ShowS # |
data QuadricDrawStyle Source #
Instances
Eq QuadricDrawStyle Source # | |
Defined in Graphics.Rendering.OpenGL.GLU.Quadrics (==) :: QuadricDrawStyle -> QuadricDrawStyle -> Bool # (/=) :: QuadricDrawStyle -> QuadricDrawStyle -> Bool # | |
Ord QuadricDrawStyle Source # | |
Defined in Graphics.Rendering.OpenGL.GLU.Quadrics compare :: QuadricDrawStyle -> QuadricDrawStyle -> Ordering # (<) :: QuadricDrawStyle -> QuadricDrawStyle -> Bool # (<=) :: QuadricDrawStyle -> QuadricDrawStyle -> Bool # (>) :: QuadricDrawStyle -> QuadricDrawStyle -> Bool # (>=) :: QuadricDrawStyle -> QuadricDrawStyle -> Bool # max :: QuadricDrawStyle -> QuadricDrawStyle -> QuadricDrawStyle # min :: QuadricDrawStyle -> QuadricDrawStyle -> QuadricDrawStyle # | |
Show QuadricDrawStyle Source # | |
Defined in Graphics.Rendering.OpenGL.GLU.Quadrics showsPrec :: Int -> QuadricDrawStyle -> ShowS # show :: QuadricDrawStyle -> String # showList :: [QuadricDrawStyle] -> ShowS # |
data QuadricStyle Source #
Instances
Eq QuadricStyle Source # | |
Defined in Graphics.Rendering.OpenGL.GLU.Quadrics (==) :: QuadricStyle -> QuadricStyle -> Bool # (/=) :: QuadricStyle -> QuadricStyle -> Bool # | |
Ord QuadricStyle Source # | |
Defined in Graphics.Rendering.OpenGL.GLU.Quadrics compare :: QuadricStyle -> QuadricStyle -> Ordering # (<) :: QuadricStyle -> QuadricStyle -> Bool # (<=) :: QuadricStyle -> QuadricStyle -> Bool # (>) :: QuadricStyle -> QuadricStyle -> Bool # (>=) :: QuadricStyle -> QuadricStyle -> Bool # max :: QuadricStyle -> QuadricStyle -> QuadricStyle # min :: QuadricStyle -> QuadricStyle -> QuadricStyle # |
data QuadricPrimitive Source #
Sphere Radius Slices Stacks | |
Cylinder Radius Radius Height Slices Stacks | |
Disk Radius Radius Slices Loops | |
PartialDisk Radius Radius Slices Loops Angle Angle |
Instances
Eq QuadricPrimitive Source # | |
Defined in Graphics.Rendering.OpenGL.GLU.Quadrics (==) :: QuadricPrimitive -> QuadricPrimitive -> Bool # (/=) :: QuadricPrimitive -> QuadricPrimitive -> Bool # | |
Ord QuadricPrimitive Source # | |
Defined in Graphics.Rendering.OpenGL.GLU.Quadrics compare :: QuadricPrimitive -> QuadricPrimitive -> Ordering # (<) :: QuadricPrimitive -> QuadricPrimitive -> Bool # (<=) :: QuadricPrimitive -> QuadricPrimitive -> Bool # (>) :: QuadricPrimitive -> QuadricPrimitive -> Bool # (>=) :: QuadricPrimitive -> QuadricPrimitive -> Bool # max :: QuadricPrimitive -> QuadricPrimitive -> QuadricPrimitive # min :: QuadricPrimitive -> QuadricPrimitive -> QuadricPrimitive # |
renderQuadric :: QuadricStyle -> QuadricPrimitive -> IO () Source #