raycaster

package
v0.0.0-...-6e0df7b Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 6 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               int
	HasGeometry           bool
	Depth                 int
	IsRecovered           bool
	ApproachedBoundingBox 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
	Count                  int
	IsRecovered            bool
}

Jump to

Keyboard shortcuts

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