forked from bartvdbraak/blender
Cleanup: style
This commit is contained in:
parent
4eab0e72b3
commit
b640700597
@ -104,8 +104,9 @@ bool BKE_pbvh_bmesh_node_raycast_detail(
|
||||
|
||||
/* for orthographic cameras, project the far away ray segment points to the root node so
|
||||
* we can have better precision. */
|
||||
void BKE_pbvh_raycast_project_ray_root(PBVH *bvh, bool original, float ray_start[3],
|
||||
float ray_end[3], float ray_normal[3]);
|
||||
void BKE_pbvh_raycast_project_ray_root(
|
||||
PBVH *bvh, bool original,
|
||||
float ray_start[3], float ray_end[3], float ray_normal[3]);
|
||||
|
||||
/* Drawing */
|
||||
|
||||
|
@ -1612,7 +1612,9 @@ bool BKE_pbvh_node_raycast(
|
||||
return hit;
|
||||
}
|
||||
|
||||
void BKE_pbvh_raycast_project_ray_root (PBVH *bvh, bool original, float ray_start[3], float ray_end[3], float ray_normal[3])
|
||||
void BKE_pbvh_raycast_project_ray_root(
|
||||
PBVH *bvh, bool original,
|
||||
float ray_start[3], float ray_end[3], float ray_normal[3])
|
||||
{
|
||||
if (bvh->nodes) {
|
||||
float rootmin_start, rootmin_end;
|
||||
|
Loading…
Reference in New Issue
Block a user