|
Blender V5.0
|
#include <sky_math.h>
Public Member Functions | |
| float3 ()=default | |
| float3 (const float *ptr) | |
| float3 (const float(*ptr)[3]) | |
| float3 (float value) | |
| float3 (int value) | |
| float3 (float x, float y, float z) | |
| operator const float * () const | |
| operator float * () | |
| float | length_squared () const |
| float | length () const |
| void | operator+= (const float3 &b) |
Static Public Member Functions | |
| static float | distance (const float3 &a, const float3 &b) |
Public Attributes | |
| float | x |
| float | y |
| float | z |
Friends | |
| float3 | operator* (const float3 &a, float b) |
| float3 | operator* (float b, const float3 &a) |
| float3 | operator/ (const float3 &a, float b) |
| float3 | operator/ (float b, const float3 &a) |
| float3 | operator- (const float3 &a, const float3 &b) |
| float3 | operator- (const float3 &a) |
| float3 | operator+ (const float3 &a, const float3 &b) |
| float3 | operator* (const float3 &a, const float3 &b) |
Definition at line 135 of file sky_math.h.
|
default |
Referenced by ccl_try_align(), distance(), float3(), operator*, operator*, operator*, operator+, operator+=(), operator-, operator-, operator/, and operator/.
|
inline |
|
inline |
Definition at line 142 of file sky_math.h.
|
inlineexplicit |
Definition at line 144 of file sky_math.h.
|
inlineexplicit |
Definition at line 146 of file sky_math.h.
Definition at line 148 of file sky_math.h.
Definition at line 200 of file sky_math.h.
|
inline |
Definition at line 195 of file sky_math.h.
References length_squared(), and sqrt.
Referenced by SkyMultipleScattering::get_inscattering(), SkyMultipleScattering::get_transmittance(), and len().
|
inline |
Definition at line 190 of file sky_math.h.
Referenced by len_squared(), and length().
|
inline |
Definition at line 150 of file sky_math.h.
References x.
|
inline |
Definition at line 155 of file sky_math.h.
References x.
|
inline |
Definition at line 210 of file sky_math.h.
| float float3::x |
Definition at line 136 of file sky_math.h.
Referenced by SVMCompiler::add_node(), any_zero(), atmosphere_intersection(), attr_create_pointiness(), Hair::Curve::bounds_grow(), Hair::Curve::bounds_grow(), Hair::Curve::bounds_grow(), Hair::Curve::bounds_grow(), bsdf_eval(), bsdf_hair_chiang_eval(), bsdf_hair_chiang_sample(), bsdf_hair_huang_eval_r(), bsdf_hair_huang_sample(), bsdf_sheen_eval(), bsdf_sheen_sample(), bvh_aligned_node_intersect(), bvh_clamp_direction(), bvh_unaligned_node_intersect_child(), BVHSpatialSplit::BVHSpatialSplit(), camera_panorama_direction(), camera_sample_panorama(), camera_sample_perspective(), ceil(), color_float_to_byte(), color_linear_to_srgb_v3(), color_srgb_to_linear_v3(), compute_3d_orientation(), BVHUnaligned::compute_node_transform(), ShaderManager::compute_thin_film_table(), TextureMapping::compute_transform(), HDCYCLES_NAMESPACE_OPEN_SCOPE::convertFromCycles< float3 >(), copy_v3_v3(), cross(), curvebounds(), ShaderManager::device_update_common(), ObjectManager::device_update_object_transform(), differential_dudv(), direction_to_central_cylindrical(), direction_to_equiangular_cubemap_face(), direction_to_equirectangular_range(), direction_to_fisheye_equidistant(), direction_to_fisheye_equisolid(), direction_to_fisheye_lens_polynomial(), direction_to_mirrorball(), direction_to_spherical(), dot(), dot(), dot_xy(), ensure_finite(), euler_to_transform(), fabs(), fill_shader_input(), film_apply_pass_pixel_overlays_rgba(), film_get_pass_pixel_combined(), film_get_pass_pixel_float3(), film_get_pass_pixel_float4(), film_get_pass_pixel_light_path(), film_get_pass_pixel_rgbe(), film_get_pass_pixel_shadow_catcher(), film_overwrite_pass_float3(), film_write_adaptive_buffer(), film_write_pass_float3(), float3(), float3(), float3(), float3(), float3_as_uint3(), floor(), fmod(), fmod(), get_float3(), MikkMeshWrapper::GetNormal(), MikkMeshWrapper::GetPosition(), BoundBox::grow_safe(), BoundBox::grow_safe(), h_to_gamma(), BoundBox::half_area(), hash_float3_to_float(), hash_float3_to_float2(), hash_float3_to_float3(), hsl_to_rgb(), hsv_to_rgb(), integrate_camera_sample(), BoundBox::intersects(), is_zero(), isequal_mask(), kernel_background_evaluate(), kernel_embree_setup_ray(), length_squared(), ConstantFolder::make_constant_clamp(), make_float2(), make_float4(), make_float4(), make_homogeneous(), make_int3(), make_int4(), make_transform_frame(), map_to_sphere(), map_to_tube(), max(), microfacet_beckmann_sample_vndf(), microfacet_ggx_sample_vndf(), min(), mirrorball_to_direction(), object_asset_dimensions_property(), ObtainCacheParticleData(), operator const float *(), operator float *(), VertexAverageComparator::operator()(), operator*, operator*, operator*, operator*(), operator*(), operator*(), operator+, operator+(), operator-, operator-, operator-(), operator-(), operator/, operator/, operator/(), operator/(), operator/(), operator<(), operator<<(), packed_float3::operator=(), operator==(), operator==(), operator>(), operator>=(), BVH2::pack_aligned_node(), phase_fournier_forand(), phase_fournier_forand_newton(), precompute_ggx_gen_schlick_s(), primitive_motion_vector(), primitive_ptex(), print_dual3(), print_emitters(), print_float3(), ray_offset(), ray_triangle_cross(), ray_triangle_dot(), reciprocal(), reduce_add(), reduce_add(), reduce_max(), reduce_min(), rgb_to_hsl(), rgb_to_hsv(), rgb_to_rgbe(), rotate_around_axis(), round(), safe_divide(), safe_divide_even_color(), safe_divide_shadow_catcher(), safe_pow(), saturate(), select(), set_float3(), SKY_multiple_scattering_precompute_sun(), SKY_multiple_scattering_precompute_texture(), SKY_single_scattering_precompute_sun(), SKY_single_scattering_precompute_texture(), sky_spherical_coordinates(), snoise_3d(), spec_to_xyz(), spot_light_uv(), sqrt(), sun_radiation(), svm_brick(), svm_brightness_contrast(), svm_checker(), svm_gradient(), svm_magic(), svm_math_gamma_color(), svm_mix_burn(), svm_mix_color(), svm_mix_div(), svm_mix_dodge(), svm_mix_hue(), svm_mix_overlay(), svm_node_curves(), svm_node_hsv(), svm_node_invert(), svm_node_normal(), svm_node_normal_map(), svm_node_radial_tiling(), svm_node_separate_color(), svm_node_tangent(), svm_node_tex_gabor(), svm_node_tex_image(), svm_node_tex_image_box(), svm_node_tex_sky(), svm_node_vector_displacement(), svm_node_vector_map_range(), svm_wave(), TEST(), TEST(), TEST_F(), to_global(), ColorSpaceManager::to_scene_linear(), transform_decompose(), transform_euler(), transform_perspective(), transform_perspective_deriv(), transform_perspective_direction(), transform_rotate(), transform_scale(), transform_set_column(), transform_translate(), BoundBox::transformed(), TYPED_TEST(), OctreeNode::visualize(), volume_fournier_forand_setup(), and Camera::world_to_raster_size().
| float float3::y |
Definition at line 136 of file sky_math.h.
Referenced by SVMCompiler::add_node(), any_zero(), atmosphere_intersection(), attr_create_pointiness(), Hair::Curve::bounds_grow(), Hair::Curve::bounds_grow(), Hair::Curve::bounds_grow(), Hair::Curve::bounds_grow(), bsdf_eval(), bsdf_hair_chiang_eval(), bsdf_hair_chiang_sample(), bsdf_hair_huang_albedo(), bsdf_hair_huang_sample(), bsdf_sheen_eval(), bsdf_sheen_sample(), bvh_aligned_node_intersect(), bvh_clamp_direction(), bvh_unaligned_node_intersect_child(), BVHSpatialSplit::BVHSpatialSplit(), camera_panorama_direction(), camera_sample_perspective(), ceil(), color_float_to_byte(), color_linear_to_srgb_v3(), color_srgb_to_linear_v3(), compute_3d_orientation(), BVHUnaligned::compute_node_transform(), ShaderManager::compute_thin_film_table(), TextureMapping::compute_transform(), HDCYCLES_NAMESPACE_OPEN_SCOPE::convertFromCycles< float3 >(), copy_v3_v3(), cross(), ShaderManager::device_update_common(), ObjectManager::device_update_object_transform(), differential_dudv(), direction_to_central_cylindrical(), direction_to_equiangular_cubemap_face(), direction_to_equirectangular_range(), direction_to_fisheye_equidistant(), direction_to_fisheye_equisolid(), direction_to_fisheye_lens_polynomial(), direction_to_mirrorball(), direction_to_spherical(), dot(), dot(), dot_xy(), ensure_finite(), euler_to_transform(), fabs(), fill_shader_input(), film_apply_pass_pixel_overlays_rgba(), film_get_pass_pixel_combined(), film_get_pass_pixel_float3(), film_get_pass_pixel_float4(), film_get_pass_pixel_light_path(), film_get_pass_pixel_rgbe(), film_get_pass_pixel_shadow_catcher(), film_overwrite_pass_float3(), film_write_adaptive_buffer(), film_write_pass_float3(), float3(), float3(), float3(), float3(), float3_as_uint3(), floor(), fmod(), fmod(), MikkMeshWrapper::GetNormal(), MikkMeshWrapper::GetPosition(), BoundBox::grow_safe(), BoundBox::grow_safe(), BoundBox::half_area(), hash_float3_to_float(), hash_float3_to_float2(), hash_float3_to_float3(), hsl_to_rgb(), hsv_to_rgb(), integrate_camera_sample(), BoundBox::intersects(), is_zero(), isequal_mask(), kernel_background_evaluate(), kernel_embree_setup_ray(), length_squared(), ConstantFolder::make_constant_clamp(), make_float2(), make_float4(), make_float4(), make_homogeneous(), make_int3(), make_int4(), make_transform_frame(), map_to_sphere(), map_to_tube(), max(), microfacet_beckmann_sample_vndf(), microfacet_ggx_sample_vndf(), min(), mirrorball_to_direction(), VertexAverageComparator::operator()(), operator*, operator*, operator*, operator*(), operator*(), operator*(), operator+, operator+(), operator-, operator-, operator-(), operator-(), operator/, operator/, operator/(), operator/(), operator/(), operator<(), operator<<(), packed_float3::operator=(), operator==(), operator==(), operator>(), operator>=(), BVH2::pack_aligned_node(), phase_fournier_forand(), phase_fournier_forand_newton(), precompute_ggx_gen_schlick_s(), primitive_motion_vector(), primitive_ptex(), print_dual3(), print_emitters(), print_float3(), ray_offset(), ray_triangle_cross(), ray_triangle_dot(), reciprocal(), reduce_add(), reduce_add(), reduce_max(), reduce_min(), rgb_to_hsl(), rgb_to_hsv(), rgb_to_rgbe(), rotate_around_axis(), round(), safe_divide(), safe_divide_even_color(), safe_divide_shadow_catcher(), safe_pow(), saturate(), select(), SKY_multiple_scattering_precompute_sun(), SKY_multiple_scattering_precompute_texture(), SKY_single_scattering_precompute_sun(), SKY_single_scattering_precompute_texture(), sky_spherical_coordinates(), snoise_3d(), spec_to_xyz(), spot_light_uv(), sqrt(), sun_radiation(), svm_brick(), svm_brightness_contrast(), svm_checker(), svm_gradient(), svm_magic(), svm_math_gamma_color(), svm_mix_burn(), svm_mix_color(), svm_mix_div(), svm_mix_dodge(), svm_mix_hue(), svm_mix_overlay(), svm_mix_sat(), svm_node_curves(), svm_node_hsv(), svm_node_invert(), svm_node_normal(), svm_node_normal_map(), svm_node_radial_tiling(), svm_node_separate_color(), svm_node_tangent(), svm_node_tex_gabor(), svm_node_tex_image(), svm_node_tex_image_box(), svm_node_tex_sky(), svm_node_vector_displacement(), svm_node_vector_map_range(), svm_wave(), TEST(), TEST(), TEST_F(), to_global(), transform_decompose(), transform_euler(), transform_perspective(), transform_perspective_deriv(), transform_perspective_direction(), transform_rotate(), transform_scale(), transform_set_column(), transform_translate(), BoundBox::transformed(), TYPED_TEST(), OctreeNode::visualize(), volume_fournier_forand_setup(), and Camera::world_to_raster_size().
| float float3::z |
Definition at line 136 of file sky_math.h.
Referenced by SVMCompiler::add_node(), any_zero(), atmosphere_intersection(), attr_create_pointiness(), Hair::Curve::bounds_grow(), Hair::Curve::bounds_grow(), Hair::Curve::bounds_grow(), Hair::Curve::bounds_grow(), bsdf_eval(), bsdf_hair_chiang_eval(), bsdf_hair_chiang_sample(), bsdf_hair_huang_eval_r(), bsdf_hair_huang_sample(), bsdf_microfacet_sample(), bsdf_sheen_eval(), bsdf_sheen_sample(), bvh_aligned_node_intersect(), bvh_clamp_direction(), bvh_unaligned_node_intersect_child(), BVHSpatialSplit::BVHSpatialSplit(), camera_z_depth(), ceil(), color_float_to_byte(), color_linear_to_srgb_v3(), color_srgb_to_linear_v3(), compute_3d_orientation(), BVHUnaligned::compute_node_transform(), ShaderManager::compute_thin_film_table(), TextureMapping::compute_transform(), HDCYCLES_NAMESPACE_OPEN_SCOPE::convertFromCycles< float3 >(), copy_v3_v3(), cross(), ShaderManager::device_update_common(), ObjectManager::device_update_object_transform(), differential_dudv(), direction_to_central_cylindrical(), direction_to_equiangular_cubemap_face(), direction_to_equirectangular_range(), direction_to_fisheye_equidistant(), direction_to_fisheye_equisolid(), direction_to_fisheye_lens_polynomial(), direction_to_mirrorball(), direction_to_spherical(), dot(), dot(), ensure_finite(), euler_to_transform(), fabs(), fill_shader_input(), film_apply_pass_pixel_overlays_rgba(), film_get_pass_pixel_combined(), film_get_pass_pixel_float3(), film_get_pass_pixel_float4(), film_get_pass_pixel_light_path(), film_get_pass_pixel_rgbe(), film_get_pass_pixel_shadow_catcher(), film_overwrite_pass_float3(), film_write_adaptive_buffer(), film_write_pass_float3(), float3(), float3(), float3(), float3(), float3_as_uint3(), floor(), fmod(), fmod(), MikkMeshWrapper::GetNormal(), MikkMeshWrapper::GetPosition(), BoundBox::grow_safe(), BoundBox::grow_safe(), h_to_gamma(), BoundBox::half_area(), hash_float3_to_float(), hash_float3_to_float2(), hash_float3_to_float3(), hsl_to_rgb(), hsv_to_rgb(), integrate_camera_sample(), BoundBox::intersects(), is_zero(), isequal_mask(), kernel_background_evaluate(), kernel_embree_setup_ray(), length_squared(), light_sample_from_position(), light_sample_from_volume_segment(), ConstantFolder::make_constant_clamp(), make_float4(), make_float4(), make_homogeneous(), make_int3(), make_int4(), make_transform_frame(), map_to_sphere(), map_to_tube(), max(), microfacet_beckmann_sample_vndf(), microfacet_ggx_sample_vndf(), min(), mirrorball_to_direction(), VertexAverageComparator::operator()(), operator*, operator*, operator*, operator*(), operator*(), operator*(), operator+, operator+(), operator-, operator-, operator-(), operator-(), operator/, operator/, operator/(), operator/(), operator/(), operator<(), operator<<(), packed_float3::operator=(), operator==(), operator==(), operator>(), operator>=(), BVH2::pack_aligned_node(), phase_fournier_forand(), phase_fournier_forand_newton(), print_dual3(), print_emitters(), print_float3(), ray_offset(), ray_triangle_cross(), ray_triangle_dot(), reciprocal(), reduce_add(), reduce_add(), reduce_max(), reduce_min(), rgb_to_hsl(), rgb_to_hsv(), rgb_to_rgbe(), rotate_around_axis(), round(), safe_divide(), safe_divide_even_color(), safe_divide_shadow_catcher(), safe_pow(), saturate(), select(), SKY_multiple_scattering_precompute_sun(), SKY_multiple_scattering_precompute_texture(), SKY_single_scattering_precompute_sun(), SKY_single_scattering_precompute_texture(), sky_spherical_coordinates(), snoise_3d(), spec_to_xyz(), spot_light_attenuation(), spot_light_to_local(), spot_light_uv(), sqrt(), surface_intersection(), svm_brightness_contrast(), svm_checker(), svm_gradient(), svm_magic(), svm_math_gamma_color(), svm_mix_burn(), svm_mix_div(), svm_mix_dodge(), svm_mix_overlay(), svm_mix_val(), svm_node_curves(), svm_node_hsv(), svm_node_invert(), svm_node_normal(), svm_node_normal_map(), svm_node_separate_color(), svm_node_tangent(), svm_node_tex_image_box(), svm_node_tex_sky(), svm_node_vector_displacement(), svm_node_vector_map_range(), svm_wave(), TEST(), TEST(), TEST_F(), to_global(), transform_decompose(), transform_euler(), transform_perspective(), transform_perspective_deriv(), transform_perspective_direction(), transform_rotate(), transform_scale(), transform_set_column(), transform_translate(), BoundBox::transformed(), TYPED_TEST(), OctreeNode::visualize(), volume_fournier_forand_setup(), and Camera::world_to_raster_size().