ilight.go 405 B

123456789101112131415
  1. // Copyright 2016 The G3N Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package light
  5. import (
  6. "github.com/g3n/engine/core"
  7. "github.com/g3n/engine/gls"
  8. )
  9. // ILight is the interface that must be implemented for all light types.
  10. type ILight interface {
  11. RenderSetup(gs *gls.GLS, rinfo *core.RenderInfo, idx int)
  12. }