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

Method appendQuad

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

Source from the content-addressed store, hash-verified

90 else if (f2.attributes.isTrue(StandardFLineDrawing.filled, false))
91 out.write('F'.toInt())
92
93
94 }
95
96 fun appendQuad(a: Vec2, b: Vec2, c: Vec2, d: Vec2) {
97 out.write('B'.toInt())
98 out.write('m'.toInt())
99 F(transform(a.toVec3()))
100 out.write('l'.toInt())
101 F(transform(b.toVec3()))
102 out.write('l'.toInt())
103 F(transform(c.toVec3()))
104 out.write('l'.toInt())
105 F(transform(d.toVec3()))
106 out.write('z'.toInt())

Callers

nothing calls this directly

Calls 4

FFunction · 0.50
transformFunction · 0.50
writeMethod · 0.45
toVec3Method · 0.45

Tested by

no test coverage detected