MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / operator*

Method operator*

code/geometry/primitives3d.cpp:15–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 point3d operator-() const {
14 return point3d(-x, -y, -z); }
15 point3d operator*(double k) const {
16 return point3d(x * k, y * k, z * k); }
17 point3d operator/(double k) const {
18 return point3d(x / k, y / k, z / k); }
19 double operator%(P(p)) const {

Callers

nothing calls this directly

Calls 1

point3dClass · 0.85

Tested by

no test coverage detected