//
pkg.gl
Category
github.com/adamcolton/geom
d3
render
material
package
0.0.0-20220831181609-9c88ebf2c706
Repository:
https://github.com/adamcolton/geom.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
4
Files
69 SLOC
#
Functions
Avg
Avg finds the average of a set of colors.
Radiate
Radiate compounds the brightness of a set of colors.
Reflect
Reflect finds the product of a set of colors - this is for Raytracing reflections.
RGBAColor
RGBAColor converts an RGBA color to Color.
#
Structs
Color
Color is an RGB color where each value is in the range 0 to 1.
Material
Material holds information that different renderers can use to shade a material.