RenderInfo.go 420 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 core
  5. import (
  6. "github.com/g3n/engine/math32"
  7. )
  8. // RenderInfo is passed into Render/RenderSetup calls
  9. type RenderInfo struct {
  10. ViewMatrix math32.Matrix4 // Current camera view matrix
  11. ProjMatrix math32.Matrix4 // Current camera projection matrix
  12. }