menu
openworld package
documentation
three_dart/three3d/math/index.dart
Triangle
getMidpoint method
getMidpoint method
dark_mode
light_mode
getMidpoint
method
Vector3
getMidpoint
(
Vector3
target
)
Implementation
Vector3 getMidpoint(Vector3 target) { return target.addVectors(a, b).add(c).multiplyScalar(1 / 3); }
openworld package
documentation
three_dart/three3d/math/index
Triangle
getMidpoint method
Triangle class