Safe Haskell | None |
---|---|
Language | Haskell98 |
- data VisObject a
- = VisObjects [VisObject a]
- | Trans (V3 a) (VisObject a)
- | RotQuat (Quaternion a) (VisObject a)
- | RotDcm (M33 a) (VisObject a)
- | RotEulerRad (Euler a) (VisObject a)
- | RotEulerDeg (Euler a) (VisObject a)
- | Scale (a, a, a) (VisObject a)
- | Cylinder (a, a) Color
- | Box (a, a, a) Flavour Color
- | Cube a Flavour Color
- | Sphere a Flavour Color
- | Ellipsoid (a, a, a) Flavour Color
- | Line (Maybe a) [V3 a] Color
- | Line' (Maybe a) [(V3 a, Color)]
- | Arrow (a, a) (V3 a) Color
- | Axes (a, a)
- | Plane (V3 a) Color Color
- | Triangle (V3 a) (V3 a) (V3 a) Color
- | Quad (V3 a) (V3 a) (V3 a) (V3 a) Color
- | Text3d String (V3 a) BitmapFont Color
- | Text2d String (a, a) BitmapFont Color
- | Points [V3 a] (Maybe GLfloat) Color
- | ObjModel LoadedObjModel Color
- drawObjects :: VisObject GLdouble -> IO ()
- data LoadedObjModel = LoadedObjModel (Vector Double) (Vector Double) Int
- loadObjModel :: Foldable f => f (V3 Double, V3 Double) -> LoadedObjModel
- setPerspectiveMode :: IO ()
Documentation
VisObjects [VisObject a] | |
Trans (V3 a) (VisObject a) | |
RotQuat (Quaternion a) (VisObject a) | |
RotDcm (M33 a) (VisObject a) | |
RotEulerRad (Euler a) (VisObject a) | |
RotEulerDeg (Euler a) (VisObject a) | |
Scale (a, a, a) (VisObject a) | |
Cylinder (a, a) Color | |
Box (a, a, a) Flavour Color | |
Cube a Flavour Color | |
Sphere a Flavour Color | |
Ellipsoid (a, a, a) Flavour Color | |
Line (Maybe a) [V3 a] Color | |
Line' (Maybe a) [(V3 a, Color)] | |
Arrow (a, a) (V3 a) Color | |
Axes (a, a) | |
Plane (V3 a) Color Color | |
Triangle (V3 a) (V3 a) (V3 a) Color | |
Quad (V3 a) (V3 a) (V3 a) (V3 a) Color | |
Text3d String (V3 a) BitmapFont Color | |
Text2d String (a, a) BitmapFont Color | |
Points [V3 a] (Maybe GLfloat) Color | |
ObjModel LoadedObjModel Color |
data LoadedObjModel Source #
loadObjModel :: Foldable f => f (V3 Double, V3 Double) -> LoadedObjModel Source #
turn a list of vertexnormal tuples into vertexnormal arrays
setPerspectiveMode :: IO () Source #