From: Javier Sancho Date: Mon, 3 Feb 2020 15:08:57 +0000 (+0100) Subject: aabbox3d-add-internal-point X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=4b0afbe3698367d7230d682047bb36bd381ab8c4;p=guile-irrlicht.git aabbox3d-add-internal-point --- diff --git a/irrlicht/core.scm b/irrlicht/core.scm index a0cb973..683c89a 100644 --- a/irrlicht/core.scm +++ b/irrlicht/core.scm @@ -22,7 +22,8 @@ #:use-module (system foreign) #:use-module ((irrlicht bindings core) #:prefix ffi-core:) #:export (make-aabbox3df - aabbox3d-reset!)) + aabbox3d-reset! + aabbox3d-add-internal-point!)) (define (make-aabbox3df) (ffi-core:pointer->aabbox3df @@ -32,3 +33,8 @@ (ffi-core:aabbox3d-reset (ffi-core:aabbox3df->pointer box) (ffi-core:vector3df->pointer init-value))) + +(define (aabbox3d-add-internal-point! box point) + (ffi-core:aabbox3d-add-internal-point + (ffi-core:aabbox3df->pointer box) + (ffi-core:vector3df->pointer point)))