From ec67738bf76d57b118d890b8fd29a2dfa7be6d52 Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Thu, 3 Oct 2019 13:32:57 +0200 Subject: [PATCH] hello world --- examples/hello.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 examples/hello.scm diff --git a/examples/hello.scm b/examples/hello.scm new file mode 100644 index 0000000..116c408 --- /dev/null +++ b/examples/hello.scm @@ -0,0 +1,24 @@ +;;; guile-irrlicht --- FFI bindings for Irrlicht Engine +;;; Copyright (C) 2019 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 +;;; . + + +(use-modules (irrlicht)) + +(define device (create-device 'opengl)) +(define driver (get-video-driver device)) -- 2.39.5