| 75 | } |
| 76 | |
| 77 | std::array<WeightedVertex, 3> MeshTriPoint::getWeightedVerts( const MeshTopology & topology ) const |
| 78 | { |
| 79 | return |
| 80 | { |
| 81 | WeightedVertex{ topology.org( e ), 1 - bary.a - bary.b }, |
| 82 | WeightedVertex{ topology.dest( e ), bary.a }, |
| 83 | WeightedVertex{ topology.dest( topology.next( e ) ), bary.b } |
| 84 | }; |
| 85 | } |
| 86 | |
| 87 | float MeshTriPoint::interpolate( const MeshTopology & topology, const VertScalars & field ) const |
| 88 | { |
no test coverage detected