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 726 - (download) (annotate)
Fri Jan 22 02:37:06 2010 UTC (8 years, 10 months ago) by jhr
File size: 4700 byte(s)
  Migrating 4D vector modules to use VEC4 signature
(* 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/flt-sig.sml
    common/float.sml
    common/double.sml
  (* colors *)
    common/color.sml
  (* floating-point vectors *)
    common/vec2.sml
    common/vec3.sml
    common/vec4.sml
    common/vec2-sig.sml
    common/vec2f.sml
    common/vec2d.sml
    common/vec3-sig.sml
    common/vec3f.sml
    common/vec3d.sml
    common/vec4-sig.sml
    common/vec4f.sml
    common/vec4d.sml
  (* floating-point matrices *)
    common/matrix2-sig.sml
    common/matrix2f.sml
    common/matrix2d.sml
    common/matrix3-sig.sml
    common/matrix3f.sml
    common/matrix3d.sml
    common/matrix4-sig.sml
    common/matrix4f.sml
    common/matrix4d.sml
  (* Planes *)
    common/plane3-sig.sml
    common/plane3f.sml
    common/plane3d.sml
  (* Triangles *)
    common/triangle-sig.sml
    common/triangle.sml
    common/tri3f.sml
    common/tri3d.sml
  (* Ortho-normal bases *)
    common/onb-sig.sml
    common/float-onb.sml
    common/double-onb.sml
  (* bounding volumes *)
    common/aabb-sig.sml
    common/aabb3f.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@/arb-texture-rectangle.sml
    opengl/texture-rectangle.sml
    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 AXIS_ALIGNED_BOUNDING_BOX
  signature C_ALLOC
  signature C_STRING
  signature DATA_BUFFER
  signature FP
  signature ONB
  signature MATRIX2
  signature MATRIX3
  signature MATRIX4
  signature PLANE3
  signature QUAT
  signature SML3D_TYPES
  signature SML3D_TYPE_UTIL
  signature TRIANGLE3
  signature VEC2
  signature VEC3
  signature VEC4

  structure AABBox3f
  structure C_Size
  structure CAlloc
  structure CString
  structure DataBuffer
  structure SML3dTypes
  structure SML3dTypeUtil
  structure FP
  structure Float
  structure Double
  structure Color
  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 FloatONB
  structure DoubleONB
  structure Plane3f
  structure Plane3d
  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 IMAGE
  structure Image
  structure ImageUtil
  signature SHADER_LANG
  structure ShaderLang
  signature TEXTURE
  structure Texture
  signature VERTEX_ARRAY
  structure VertexArray

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

(** Utility code **)
  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