types

package
v0.0.0-...-405cb25 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package types provides constants and type aliases that are considered bruteray primitives. It is intended to be dot-imported:

import . "github.com/barnex/bruteray/tracer/types"

Index

Constants

View Source
const (
	Deg  = geom.Deg
	Pi   = geom.Pi
	Tiny = tracer.Tiny
	X    = geom.X
	Y    = geom.Y
	Z    = geom.Z
)

Variables

View Source
var (
	O                 = geom.O
	Ex                = geom.Ex
	Ey                = geom.Ey
	Ez                = geom.Ez
	Inf               = geom.Inf
	NewScene          = tracer.NewScene
	NewSceneWithMedia = tracer.NewSceneWithMedia
	MakeImage         = imagef.MakeImage
)

Functions

This section is empty.

Types

type Camera

type Camera = tracer.Camera

type Color

type Color = colorf.Color

type Ctx

type Ctx = tracer.Ctx

type HitCoords

type HitCoords = tracer.HitCoords

type HitRecord

type HitRecord = tracer.HitRecord

type Image

type Image = imagef.Image

type ImageFunc

type ImageFunc = tracer.ImageFunc

type Light

type Light = tracer.Light

type Material

type Material = tracer.Material

type Medium

type Medium = tracer.Medium

type Object

type Object = tracer.Object

type Ray

type Ray = tracer.Ray

type Scene

type Scene = tracer.Scene

type Vec

type Vec = geom.Vec

type Vec2

type Vec2 = geom.Vec2

Jump to

Keyboard shortcuts

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