From 4b0afbe3698367d7230d682047bb36bd381ab8c4 Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Mon, 3 Feb 2020 16:08:57 +0100 Subject: [PATCH] aabbox3d-add-internal-point --- irrlicht/core.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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))) -- 2.39.5