| 60 | } |
| 61 | |
| 62 | class Vec3 { |
| 63 | public: |
| 64 | Vec3():x(0),y(0),z(0) {} |
| 65 | Vec3(float x_, float y_, float z_):x(x_),y(y_),z(z_) {} |
| 66 | float x,y,z; |
| 67 | }; |
| 68 | |
| 69 | Vec3 add(const Vec3 &lhs, const Vec3 &rhs) { return Vec3(lhs.x+rhs.x, lhs.y+rhs.y, lhs.z+rhs.z); } |
| 70 |
no outgoing calls
no test coverage detected