package ocgtk

  1. Overview
  2. Docs
OCaml bindings for GTK 4

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054

doc/ocgtk.graphene/Ocgtk_graphene/Graphene_enums/index.html

Module Ocgtk_graphene.Graphene_enums

type eulerorder = [
  1. | `DEFAULT
    (*

    Rotate in the X, Y, and Z order. Deprecated in Graphene 1.10, it's an alias for %GRAPHENE_EULER_ORDER_SXYZ

    *)
  2. | `XYZ
    (*

    Rotate in the Y, Z, and X order. Deprecated in Graphene 1.10, it's an alias for %GRAPHENE_EULER_ORDER_SYZX

    *)
  3. | `YZX
    (*

    Rotate in the Z, X, and Y order. Deprecated in Graphene 1.10, it's an alias for %GRAPHENE_EULER_ORDER_SZXY

    *)
  4. | `ZXY
    (*

    Rotate in the X, Z, and Y order. Deprecated in Graphene 1.10, it's an alias for %GRAPHENE_EULER_ORDER_SXZY

    *)
  5. | `XZY
    (*

    Rotate in the Y, X, and Z order. Deprecated in Graphene 1.10, it's an alias for %GRAPHENE_EULER_ORDER_SYXZ

    *)
  6. | `YXZ
    (*

    Rotate in the Z, Y, and X order. Deprecated in Graphene 1.10, it's an alias for %GRAPHENE_EULER_ORDER_SZYX

    *)
  7. | `ZYX
    (*

    Defines a static rotation along the X, Y, and Z axes (Since: 1.10)

    *)
  8. | `SXYZ
    (*

    Defines a static rotation along the X, Y, and X axes (Since: 1.10)

    *)
  9. | `SXYX
    (*

    Defines a static rotation along the X, Z, and Y axes (Since: 1.10)

    *)
  10. | `SXZY
    (*

    Defines a static rotation along the X, Z, and X axes (Since: 1.10)

    *)
  11. | `SXZX
    (*

    Defines a static rotation along the Y, Z, and X axes (Since: 1.10)

    *)
  12. | `SYZX
    (*

    Defines a static rotation along the Y, Z, and Y axes (Since: 1.10)

    *)
  13. | `SYZY
    (*

    Defines a static rotation along the Y, X, and Z axes (Since: 1.10)

    *)
  14. | `SYXZ
    (*

    Defines a static rotation along the Y, X, and Y axes (Since: 1.10)

    *)
  15. | `SYXY
    (*

    Defines a static rotation along the Z, X, and Y axes (Since: 1.10)

    *)
  16. | `SZXY
    (*

    Defines a static rotation along the Z, X, and Z axes (Since: 1.10)

    *)
  17. | `SZXZ
    (*

    Defines a static rotation along the Z, Y, and X axes (Since: 1.10)

    *)
  18. | `SZYX
    (*

    Defines a static rotation along the Z, Y, and Z axes (Since: 1.10)

    *)
  19. | `SZYZ
    (*

    Defines a relative rotation along the Z, Y, and X axes (Since: 1.10)

    *)
  20. | `RZYX
    (*

    Defines a relative rotation along the X, Y, and X axes (Since: 1.10)

    *)
  21. | `RXYX
    (*

    Defines a relative rotation along the Y, Z, and X axes (Since: 1.10)

    *)
  22. | `RYZX
    (*

    Defines a relative rotation along the X, Z, and X axes (Since: 1.10)

    *)
  23. | `RXZX
    (*

    Defines a relative rotation along the X, Z, and Y axes (Since: 1.10)

    *)
  24. | `RXZY
    (*

    Defines a relative rotation along the Y, Z, and Y axes (Since: 1.10)

    *)
  25. | `RYZY
    (*

    Defines a relative rotation along the Z, X, and Y axes (Since: 1.10)

    *)
  26. | `RZXY
    (*

    Defines a relative rotation along the Y, X, and Y axes (Since: 1.10)

    *)
  27. | `RYXY
    (*

    Defines a relative rotation along the Y, X, and Z axes (Since: 1.10)

    *)
  28. | `RYXZ
    (*

    Defines a relative rotation along the Z, X, and Z axes (Since: 1.10)

    *)
  29. | `RZXZ
    (*

    Defines a relative rotation along the X, Y, and Z axes (Since: 1.10)

    *)
  30. | `RXYZ
    (*

    Defines a relative rotation along the Z, Y, and Z axes (Since: 1.10)

    *)
  31. | `RZYZ
]
val eulerorder_of_int : int -> eulerorder
val eulerorder_to_int : eulerorder -> int
type rayintersectionkind = [
  1. | `NONE
    (*

    The ray is entering the intersected object

    *)
  2. | `ENTER
    (*

    The ray is leaving the intersected object

    *)
  3. | `LEAVE
]
val rayintersectionkind_of_int : int -> rayintersectionkind
val rayintersectionkind_to_int : rayintersectionkind -> int