Documentation
¶
Index ¶
- Constants
- func Barycentric(p Point, a, b, c Point) (float64, float64, float64)
- func BoundingBox(vertices []Point) (int, int, int, int)
- func CalculateVertexIntensity(point, normal object.Vec3, lightSources []Light) float64
- func RenderModels(models []*object.Object, options *RenderOptions) asciiser.Image
- type Camera
- type Light
- type Point
- type Polygon
- type RenderOptions
Constants ¶
View Source
const LineEPS = 0.005
Variables ¶
This section is empty.
Functions ¶
func RenderModels ¶
func RenderModels(models []*object.Object, options *RenderOptions) asciiser.Image
Types ¶
Click to show internal directories.
Click to hide internal directories.