MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / fillInfo

Method fillInfo

src/main/java/trace/util/Rasterizer.kt:129–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 out.write('w'.toInt())
128 F(t.toDouble())
129 currentStrokeThickness = t.toDouble()
130 }
131 }
132
133 fun fillInfo(c: Vec4) {
134 if (c.distance(currentFillColor) > 1e-10) {
135 out.write('f'.toInt())
136 F(c.x)
137 F(c.y)
138 F(c.z)
139 F(c.w)
140 currentFillColor %= c
141 }

Callers

nothing calls this directly

Calls 3

FFunction · 0.50
distanceMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected