You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In general you are right. The problem here is the m_transformation_dev variable which is a class variable that is used. This variable could be marked as mutable nevertheless so that the function could be const, as you suggest. Perhaps @cjue wants to change this in the next release?
I am sure, we could fine more candidates, which could be const, apart of a temporary device variable.
In PointCloud.cu and PointCloud.h, should the function PointCloud::transform(...) be const?
Like so:
- void transform(const Matrix4f* transform, PointCloud* transformed_cloud);
+ void transform(const Matrix4f* transform, PointCloud* transformed_cloud) const;
The text was updated successfully, but these errors were encountered: