raycaster

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RayResult

type RayResult struct {
	X, Y, Z     byte
	HasGeometry bool
	Depth       int
	IsRecovered bool
}

type RenderInfo

type RenderInfo []RenderSample

type RenderOutput

type RenderOutput [][]RenderInfo

type RenderSample

type RenderSample struct {
	Collision              bool
	Index                  byte
	Normal, AveragedNormal geometry.Vector3
	Depth, Occlusion       int
	LightAmount            float64
	Shadowing              float64
	Influence              float64
	Detail                 float64
	IsRecovered            bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL