mirror of
				https://github.com/facebookresearch/pytorch3d.git
				synced 2025-11-04 18:02:14 +08:00 
			
		
		
		
	mac build fix
Summary: Fix for https://github.com/facebookresearch/pytorch3d/issues/1708 Reviewed By: patricklabatut Differential Revision: D52480756 fbshipit-source-id: 530c0f9413970fba042eec354e28318c96e35f42
This commit is contained in:
		
							parent
							
								
									3087ab7f62
								
							
						
					
					
						commit
						3621a36494
					
				@ -73,6 +73,13 @@ struct float2 {
 | 
			
		||||
struct float3 {
 | 
			
		||||
  float x, y, z;
 | 
			
		||||
};
 | 
			
		||||
inline float3 make_float3(const float& x, const float& y, const float& z) {
 | 
			
		||||
  float3 res;
 | 
			
		||||
  res.x = x;
 | 
			
		||||
  res.y = y;
 | 
			
		||||
  res.z = z;
 | 
			
		||||
  return res;
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
namespace py = pybind11;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user