| 16 | |
| 17 | template <typename Scalar> |
| 18 | Eigen::Matrix<Scalar, 3, 1> interpGrad( |
| 19 | const Eigen::Matrix<Scalar, 2, 1>& p) const { |
| 20 | return Eigen::Matrix<Scalar, 3, 1>(sin(p[0] / 100.0 + p[1] / 20.0), |
| 21 | cos(p[0] / 100.0 + p[1] / 20.0) / 100.0, |
| 22 | cos(p[0] / 100.0 + p[1] / 20.0) / 20.0); |
| 23 | } |
| 24 | |
| 25 | template <typename Derived> |
| 26 | BASALT_HOST_DEVICE inline bool InBounds( |
nothing calls this directly
no outgoing calls
no test coverage detected