Permalink
Browse files

Added missing enum and function binding.

  • Loading branch information...
1 parent 38dffc6 commit 24b40e88960801fb1bb0960c2bf2e95122b30aba @anwyn committed Nov 11, 2012
Showing with 7 additions and 2 deletions.
  1. +2 −0 src/enums.lisp
  2. +4 −1 src/horde3d.lisp
  3. +1 −1 src/package.lisp
View
2 src/enums.lisp
@@ -502,6 +502,7 @@
:light-radius - Radius of influence (default: 100.0)
:light-fov - Field of view (FOV) angle (default: 90.0)
:light-color - Diffuse color RGB (default: 1.0, 1.0, 1.0)
+ :light-color-multiplier - Diffuse color multiplier for altering intensity, mainly useful for HDR (default: 1.0)
:light-shadow-map-count - Number of shadow maps used for light source (values: 0, 1, 2, 3, 4; default: 0)]
:light-shadow-split-lambda - Constant determining segmentation of view frustum for Parallel Split Shadow Maps (default: 0.5)
:light-shadow-map-bias - Bias value for shadow mapping to reduce shadow acne (default: 0.005)
@@ -512,6 +513,7 @@
:light-radius :float
:light-fov :float
:light-color :float
+ :light-color-multiplier :float
:light-shadow-map-count :int
:light-shadow-split-lambda :float
:light-shadow-map-bias :float
View
5 src/horde3d.lisp
@@ -112,9 +112,12 @@
do (set-option key (car rest))))
(import-export %h3d:get-statistics
- %h3d:show-overlays
%h3d:clear-overlays)
+(defun show-overlays (vertices count col-r col-g col-b col-a material flags)
+ (with-pointer-to-vector-data (verts vertices)
+ (%h3d:show-overlays verts count col-r col-g col-b col-a material flags)))
+
;;;; General resource management functions
(import-export %h3d:get-resource-type
View
2 src/package.lisp
@@ -34,7 +34,7 @@
#:get-stat
;; Overlays
- #:show-overlay
+ #:show-overlays
#:clear-overlays
;; Resource management

0 comments on commit 24b40e8

Please sign in to comment.