Documentation ¶
Index ¶
Constants ¶
View Source
const ( Near = 0.001 Far = 1000 Fov = 45 )
View Source
const ( SizeWidth = 16 SizeHeight = 16 SizeLength = 16 )
View Source
const ( NoiseSmooth = 20 WaterHeight = 3 )
Misc
Variables ¶
View Source
var Noise32 = simplex.New32(0)
Functions ¶
This section is empty.
Types ¶
type Camera ¶
type Camera struct {
// contains filtered or unexported fields
}
func (*Camera) SendUniforms ¶
NOTE: I don't mind sending uniforms as part of the shaders code, but I resolve put it directly here in the camera API
Click to show internal directories.
Click to hide internal directories.