X-Git-Url: https://git.jsancho.org/?p=guile-irrlicht.git;a=blobdiff_plain;f=irrlicht%2Fcore.scm;fp=irrlicht%2Fcore.scm;h=0000000000000000000000000000000000000000;hp=ab2d070335addcbb8f00f905714f15e3db05c399;hb=d392bfc335713faab44275624d8fd78139880975;hpb=3bb58c2b45af12c0f9c9eac648e67ac6fa90e104 diff --git a/irrlicht/core.scm b/irrlicht/core.scm deleted file mode 100644 index ab2d070..0000000 --- a/irrlicht/core.scm +++ /dev/null @@ -1,43 +0,0 @@ -;;; guile-irrlicht --- FFI bindings for Irrlicht Engine -;;; Copyright (C) 2020 Javier Sancho -;;; -;;; This file is part of guile-irrlicht. -;;; -;;; Guile-irrlicht is free software; you can redistribute it and/or modify -;;; it under the terms of the GNU Lesser General Public License as -;;; published by the Free Software Foundation; either version 3 of the -;;; License, or (at your option) any later version. -;;; -;;; Guile-irrlicht is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;;; General Public License for more details. -;;; -;;; You should have received a copy of the GNU Lesser General Public -;;; License along with guile-irrlicht. If not, see -;;; . - - -(define-module (irrlicht core) - #:use-module (oop goops) - #:use-module (irrlicht base) - #:use-module (irrlicht foreign)) - - -;; aabbox3d -(define-class () - (irr-class #:init-value "aabbox3d")) - -(define-method (add-internal-point! (box3d ) point) - (let ((addInternalPoint (get-irrlicht-proc "aabbox3d_addInternalPoint"))) - (addInternalPoint box3d point))) - -(define (make-box3d) - (let ((aabbox3d_make (get-irrlicht-proc "aabbox3d_make"))) - (aabbox3d_make))) - -(define-method (reset-box3d! (box3d ) init-value) - (let ((reset (get-irrlicht-proc "aabbox3d_reset"))) - (reset box3d init-value))) - -(export add-internal-point! make-box3d reset-box3d!)