package ocgtk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
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/Wrappers/Frustum/index.html
Module Wrappers.Frustum
type t = [ `frustum ] Gobject.objA 3D volume delimited by 2D clip planes.
The contents of the `graphene_frustum_t` are private, and should not be modified directly.
val alloc : unit -> tCreate a new Frustum
val intersects_sphere : t -> [ `sphere ] Gobject.obj -> boolChecks whether the given @sphere intersects a plane of a #graphene_frustum_t.
val intersects_box : t -> [ `box ] Gobject.obj -> boolChecks whether the given @box intersects a plane of a #graphene_frustum_t.
val init_from_matrix : t -> [ `matrix ] Gobject.obj -> tInitializes a #graphene_frustum_t using the given @matrix.
Initializes the given #graphene_frustum_t using the clipping planes of another #graphene_frustum_t.
val init :
t ->
[ `plane ] Gobject.obj ->
[ `plane ] Gobject.obj ->
[ `plane ] Gobject.obj ->
[ `plane ] Gobject.obj ->
[ `plane ] Gobject.obj ->
[ `plane ] Gobject.obj ->
tInitializes the given #graphene_frustum_t using the provided clipping planes.
val get_planes : t -> [ `plane ] Gobject.obj arrayRetrieves the planes that define the given #graphene_frustum_t.
val contains_point : t -> [ `point3_d ] Gobject.obj -> boolChecks whether a point is inside the volume defined by the given #graphene_frustum_t.
val get_type : unit -> Gobject.Type.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>