menu
three_dart package
documentation
three3d/math/triangle.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); }
three_dart package
documentation
three3d/math/triangle
Triangle
getMidpoint method
Triangle class