Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4.
This commit is contained in:
@@ -154,7 +154,7 @@ private:
|
||||
float thickness = 0.0;
|
||||
};
|
||||
|
||||
void _find_closest_distance(const Vector3 &p_pos, const BVH *bvh, uint32_t p_bvh_cell, const Face3 *triangles, float thickness, float &closest_distance);
|
||||
void _find_closest_distance(const Vector3 &p_pos, const BVH *p_bvh, uint32_t p_bvh_cell, const Face3 *p_triangles, float p_thickness, float &r_closest_distance);
|
||||
void _compute_sdf_z(uint32_t p_z, ComputeSDFParams *params);
|
||||
void _compute_sdf(ComputeSDFParams *params);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user