Home My Page Projects Code Snippets Project Openings 3D graphics for Standard ML
Summary Activity SCM

SCM Repository

[sml3d] View of /trunk/sml3d/src/sml3d/sml3d_mlb.in
ViewVC logotype

View of /trunk/sml3d/src/sml3d/sml3d_mlb.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1414 - (download) (annotate)
Mon Apr 14 22:49:17 2014 UTC (4 years, 5 months ago) by jhr
File size: 4788 byte(s)
  Vertex attributes for OpenGL 3.2 core
(* sml3d_mlb.in
 *
 * COPYRIGHT (c) 2012 The SML3d Project (http://sml3d.cs.uchicago.edu)
 * All rights reserved.
 *
 * @configure_input@
 *
 * This MLB file covers the core parts of the SML3d library
 *)

local

  $(SML_LIB)/basis/basis.mlb
  $(SML_LIB)/basis/mlton.mlb
  $(SML_LIB)/basis/unsafe.mlb
  $(SML_LIB)/basis/c-types.mlb
  $(SML_LIB)/smlnj-lib/Util/smlnj-lib.mlb

  ../raw-data/raw-data.mlb

  ann "sequenceNonUnit error" in
    base/sml3d-info.sml
    base/sml3d-types.sml
(*
    base/sml3d-type-util-sig.sml
    base/sml3d-type-util.sml
*)
  (* floating-point vectors *)
    base/vec-base-sig.sml
    base/vec2-base.sml
    base/vec3-base.sml
    base/vec4-base.sml
    base/vec2-sig.sml
    base/vec2f.sml
    base/vec2d.sml
    base/vec3-sig.sml
    base/vec3f.sml
    base/vec3d.sml
    base/vec4-sig.sml
    base/vec4f.sml
    base/vec4d.sml
  (* floating-point matrices *)
    base/matrix2-base.sml
    base/matrix3-base.sml
    base/matrix4-base.sml
    base/matrix-base-sig.sml
    base/matrix2-sig.sml
    base/matrix2f.sml
    base/matrix2d.sml
    base/matrix3-sig.sml
    base/matrix3f.sml
    base/matrix3d.sml
    base/matrix4-sig.sml
    base/matrix4f.sml
    base/matrix4d.sml
  (* record types for vectors, colors, etc. *)
    base/color.sml
  (* Geomatric types (2D and 3D) *)
    geometry/geom-2d-types.sml
    geometry/geom-3d-types.sml
  (* Planes *)
    geometry/plane-sig.sml
    geometry/planef.sml
    geometry/planed.sml
  (* Triangles *)
    geometry/triangle3-sig.sml
    geometry/triangle.sml
    geometry/tri3f.sml
    geometry/tri3d.sml
  (* Ortho-normal bases *)
    geometry/ortho-normal-basis-sig.sml
    geometry/onbf.sml
    geometry/onbd.sml
  (* bounding volumes *)
    geometry/aabb-sig.sml
    geometry/aabb3f.sml
  (* Quaternions *)
    geometry/quat-sig.sml
    geometry/quatf.sml
  end

  (***** OpenGL 3.2 *****)

  (* OpenGL type and constant definitions *)
    opengl/gl-types.sml
    opengl/gl-consts.sml
  (* the FFI definitions *)
    opengl/opengl-32.mlb
  (* enumeration types *)
    opengl/enum-groups.sml
    opengl/additional-enum-groups.sml

    gl3/error.sml
    gl3/state-util.sml
    gl3/draw.sml
    gl3/vertex.sml

    gl3/pixel-sig.sml
    gl3/pixel.sml
    gl3/buffer-obj-sig.sml
    gl3/draw-sig.sml
    gl3/frame-buffer-sig.sml
    gl3/raster-sig.sml
    gl3/render-ctl-sig.sml
    gl3/shader-sig.sml
    gl3/sync-sig.sml
    gl3/texture-sig.sml
    gl3/vertex-sig.sml
    gl3/gl3-sig.sml

  ann "sequenceNonUnit error" "allowFFI true" in
    util/rand48.sml
  end

  ann "sequenceNonUnit error" in
    util/gauss-rand.sml
    util/camera.sml
    util/draw2d.sml
    util/frustum.sml
    util/texture-atlas-sig.sml
    util/texture-atlas.sml
    util/gradient.sml
  end

in

(* re-export from raw-data.mlb *)
  signature C_ALLOC
  signature C_OBJECT
  signature C_STRING
  signature DATA_BUFFER
  signature SCALAR
  signature FP
  signature IMAGE

  structure CAlloc
  structure CObject
  structure CString
  structure DataBuffer
  structure Double
  structure Image
  structure ImageUtil
  structure Float
  structure FP

  structure CPtr
  structure CSize
  structure CPtrDiff
  structure CInt
  structure CUInt
  structure CLong
  structure CULong

(* common stuff *)
  signature AXIS_ALIGNED_BOUNDING_BOX
  signature ORTHO_NORMAL_BASIS
  signature MATRIX_BASE
  signature MATRIX2
  signature MATRIX3
  signature MATRIX4
  signature PLANE
  signature QUAT
  signature SML3D_TYPES
  signature SML3D_TYPE_UTIL
  signature TRIANGLE3
  signature VEC_BASE
  signature VEC2
  signature VEC3
  signature VEC4

  structure AABBox3f
  structure Color
  structure SML3dInfo
  structure SML3dTypes
  structure SML3dTypeUtil
  structure Vec2f
  structure Vec2d
  structure Vec3f
  structure Vec3d
  structure Vec4f
  structure Vec4d
  structure Matrix2f
  structure Matrix2d
  structure Matrix3f
  structure Matrix3d
  structure Matrix4f
  structure Matrix4d
  structure ONBf
  structure ONBd
  structure Planef
  structure Planed
  structure Quatf
  structure Triangle
  structure Tri3f
  structure Tri3d

(** OpenGL 2.1 API **)
  structure GLTypes

  signature GL
  structure GL
  signature GL_ERROR
  structure GLError
  signature GLU
  structure GLU
  signature PIXEL
  structure Pixel
  signature SHADER_LANG
  structure ShaderLang
  signature TEXTURE
  structure Texture
  signature VERTEX_ARRAY
  structure VertexArray
  signature BUFFER_OBJ
  structure BufferObj

(** OpenGL extensions **)
  structure FBO			(* EXT_framebuffer_object *)
  structure TextureRectangle	(* ARB_texture_rectangle *)

(** Utility code **)
  signature RAND48
  signature TEXTURE_ATLAS

  structure Camera
  structure Draw2d
  structure Frustum
  structure GaussRand
  structure Rand48
  structure TextureAtlas
  structure Gradient

end


root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0