Compute dot product between 'self' and 'other'.
(self, other: Vec3Array)
| 81 | return Vec3Array(new_x, new_y, new_z) |
| 82 | |
| 83 | def dot(self, other: Vec3Array) -> Float: |
| 84 | """Compute dot product between 'self' and 'other'.""" |
| 85 | return self.x * other.x + self.y * other.y + self.z * other.z |
| 86 | |
| 87 | def norm(self, epsilon: float = 1e-6) -> Float: |
| 88 | """Compute Norm of Vec3Array, clipped to epsilon.""" |
no outgoing calls
no test coverage detected