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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 454 - (download) (annotate)
Mon May 18 23:19:14 2009 UTC (10 years, 3 months ago) by jhr
File size: 3543 byte(s)
  Working on FBO support
(* sml3d.mlb
 *
 * COPYRIGHT (c) 2009 John Reppy (http://www.cs.uchicago.edu/~jhr)
 * 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

(* common interfaces to C code *)
  ann "sequenceNonUnit error" "allowFFI true" in
    common/c-alloc.sml
    common/c-string.sml
  end

  ann "sequenceNonUnit error" in
    common/sml3d-types-sig.sml
    common/sml3d-type-util-sig.sml
    common/sml3d-types.sml
    common/sml3d-type-util.sml
  (* floating-point numbers *)
    common/fp.sml
    common/float.sml
    common/double.sml
  (* floating-point vectors *)
    common/vec2.sml
    common/vec3.sml
    common/vec4.sml
    common/vec2f.sml
    common/vec2d.sml
    common/vec3f.sml
    common/vec3d.sml
    common/vec4f.sml
    common/vec4d.sml
  (* floating-point matrices *)
    common/matrix3f.sml
    common/matrix3d.sml
    common/matrix4f.sml
    common/matrix4d.sml
  (* Ortho-normal bases *)
    common/onb-sig.sml
    common/float-onb.sml
    common/double-onb.sml
  (* Quaternions *)
    common/quat-sig.sml
    common/quatf.sml
  (* other utility code *)
    common/object-id-fn.sml
  (* data buffers *)
    common/data-buffer-sig.sml
    common/data-buffer.sml
  end

  ann "sequenceNonUnit error" "allowFFI true" in
    opengl/gl-types.sml

  (* the FFI definitions *)
    opengl/gl-consts.sml
    opengl/ext-consts.sml
    opengl/c-abi/gl-funcs-1_0.sml
    opengl/c-abi/gl-funcs-1_1.sml
    opengl/@OPENGL_ABI@/gl-funcs-1_2.sml
    opengl/@OPENGL_ABI@/gl-funcs-1_3.sml
    opengl/@OPENGL_ABI@/gl-funcs-1_4.sml
    opengl/@OPENGL_ABI@/gl-funcs-1_5.sml
    opengl/@OPENGL_ABI@/gl-funcs-2_0.sml
    opengl/@OPENGL_ABI@/gl-funcs-2_1.sml

    opengl/gl-error.sml
    opengl/gl-util.sml
    opengl/image-sig.sml
    opengl/image.sml
    opengl/image-util.sml
    opengl/texture-sig.sml
    opengl/texture.sml
    opengl/gl-sig.sml
    opengl/shader-lang-sig.sml
    opengl/shader-lang.sml
    opengl/gl.sml
    opengl/vertex-array-sig.sml
    opengl/vertex-array.sml
    opengl/glu-sig.sml
    opengl/glu.sml

  (* OpenGL extensions *)
    opengl/@OPENGL_ABI@/ext-framebuffer-object.sml
    opengl/fbo.sml

    util/rand48.sml
  end

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

in

  signature C_ALLOC
  signature C_STRING
  signature DATA_BUFFER
  signature SML3D_TYPES
  signature SML3D_TYPE_UTIL
  signature FP
  signature ONB
  signature QUAT

  structure C_Size
  structure CAlloc
  structure CString
  structure DataBuffer
  structure SML3dTypes
  structure SML3dTypeUtil
  structure FP
  structure Float
  structure Double
  structure Vec2f
  structure Vec2d
  structure Vec3f
  structure Vec3d
  structure Vec4f
  structure Vec4d
  structure Matrix3f
  structure Matrix3d
  structure Matrix4f
  structure Matrix4d
  structure FloatONB
  structure DoubleONB
  structure Quatf

  structure GLTypes

  signature GL
  structure GL
  signature GL_ERROR
  structure GLError
  signature GLU
  structure GLU
  signature IMAGE
  structure Image
  structure ImageUtil
  signature SHADER_LANG
  structure ShaderLang
  signature TEXTURE
  structure Texture
  signature VERTEX_ARRAY
  structure VertexArray

  signature RAND48

  structure Camera
  structure Draw2d
  structure Frustum
  structure GaussRand
  structure Rand48

end


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