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

Method smoothTo

src/main/java/field/graphics/FLine.java:795–797  ·  view source on GitHub ↗

"smoothly" builds a cubic segment to this point. This will rewrite the previous node to have the correct tangent. @param v

(Vec2 v)

Source from the content-addressed store, hash-verified

793 return smoothTo(new Vec3(x, y, 0));
794 }
795
796 public double smoothTo_tan0 = -1/3.0;
797 public double smoothTo_tan1 = 1/3.0;
798 public double smoothTo_tan2 = 1/3.0;
799
800 /**

Callers 2

dataMethod · 0.95
parsePathListMethod · 0.80

Calls 12

moveToMethod · 0.95
lineToMethod · 0.95
lastMethod · 0.95
normalizeMethod · 0.95
distanceMethod · 0.95
cubicToMethod · 0.95
getMethod · 0.65
setMethod · 0.65
toVec3Method · 0.45
sizeMethod · 0.45
subMethod · 0.45
fmaMethod · 0.45

Tested by

no test coverage detected