|
Blender V4.3
|
Go to the source code of this file.
| ccl_device_inline float average | ( | const float3 | a | ) |
Definition at line 475 of file math_float3.h.
References reduce_add().
| ccl_device_inline float3 ceil | ( | const float3 | a | ) |
Definition at line 336 of file math_float3.h.
References ceilf, and make_float3().
Referenced by blender::bke::pbvh::uv_islands::add_uv_island(), blender::animrig::bake_fcurve_segments(), BKE_nla_add_soundstrip(), BKE_partdeflect_new(), blf_glyph_cache_add_svg(), blo_do_versions_pre250(), button_section_bounds_calc(), Freestyle::computeCumulativeVisibility(), blender::ed::curves::curve_draw_event_add(), curve_draw_event_add(), decimate_fcurve_segment(), displayed_channel_range_get(), distribute_grid(), blender::bke::pbvh::pixels::do_encode_pixels(), draw_distortion(), draw_horizontal_scale_indicators(), draw_ticks(), dynamicPaint_doSmudge(), dynamicPaint_doWaveStep(), fcm_cycles_time(), blender::compositor::RotateOperation::get_area_rotation_bounds(), get_effector_tot(), blender::nodes::node_fn_float_to_int_cc::get_multi_function(), GPU_indexbuf_build_curves_on_device(), gridRaycast(), blender::compositor::GaussianAlphaBlurBaseOperation::init_data(), blender::compositor::GaussianBlurBaseOperation::init_data(), blender::compositor::GaussianBokehBlurOperation::init_data(), next_lattice(), power_of_2(), radial_control_modal(), libmv::RegionIsInBounds(), mv::Region::Rounded(), SEQ_add_reload_new_file(), SEQ_sound_equalizermodifier_recreator(), seq_speed_effect_target_frame_get(), soft_range_round_up(), svm_vector_math(), blender::nodes::try_dispatch_float_math_fl3_to_fl3(), UI_fontstyle_draw_ex(), UI_fontstyle_draw_rotated(), UI_view2d_text_cache_draw(), uilist_prepare(), unit_dual_convert(), update_do_scale(), blender::compositor::KeyingClipOperation::update_memory_buffer_partial(), blender::compositor::KuwaharaAnisotropicOperation::update_memory_buffer_partial(), blender::compositor::MathCeilOperation::update_memory_buffer_partial(), blender::compositor::MathTruncOperation::update_memory_buffer_partial(), WM_gesture_circle_modal(), wm_window_timers_process(), and zbuf_add_to_span().
| ccl_device_inline float3 clamp | ( | const float3 | a, |
| const float3 | mn, | ||
| const float3 | mx ) |
Definition at line 294 of file math_float3.h.
| ccl_device_inline float3 cos | ( | float3 | v | ) |
Definition at line 375 of file math_float3.h.
References cosf, make_float3(), and v.
Referenced by ArHosekSkyModel_GetRadianceInternal(), barycentric_weights_v2_grid_cache(), bend_angle(), BKE_bmbvh_new_ex(), BKE_camera_view_frame_fit_to_coords(), BKE_curve_nurbs_key_vert_coords_alloc(), BKE_maskrasterize_handle_init(), BKE_mesh_mirror_apply_mirror_on_axis_for_modifier(), BM_face_split_n(), bm_face_split_walk_back(), BM_mesh_intersect(), bmbvh_tri_from_face(), bmo_smooth_vert_exec(), blender::geometry::PackIsland::build_inverse_transformation(), blender::geometry::PackIsland::build_transformation(), cloth_calc_helper_forces(), cloth_spring_angle(), blender::noise::compute_2d_gabor_kernel(), Freestyle::SteerableViewMap::ComputeWeight(), blender::nodes::node_geo_curve_primitive_arc_cc::create_arc_curve_from_radius(), blender::nodes::node_geo_curve_primitive_circle_cc::create_point_circle_curve(), blender::nodes::node_geo_curve_primitive_circle_cc::create_radius_circle_curve(), blender::nodes::node_geo_curve_primitive_spiral_cc::create_spiral_curve(), blender::nodes::node_geo_curve_primitive_star_cc::create_star_curve(), blender::io::alembic::create_swapped_rotation_matrix(), diagonalize(), libmv::DrawEllipse(), blender::compositor::RotateOperation::ensure_degree(), eul_to_mat3(), eul_to_mat4(), euler_to_mat(), eulO_to_mat3(), eulO_to_quat(), extrawindow_spin_cursor(), fcm_fn_generator_evaluate(), find_even_superellipse_chords(), gearGL(), gearGL(), blender::compositor::GlareStreaksOperation::generate_glare(), blender::bke::greasepencil::convert::get_legacy_stroke_to_texture_matrix(), blender::bke::greasepencil::get_stroke_to_texture_matrix(), GHOST_Wintab::getInput(), gpencil_calc_stroke_fill_uv(), gpencil_vfx_blur(), gpencil_vfx_glow(), blender::compositor::TransformOperation::init_data(), blender::compositor::BoxMaskOperation::init_execution(), blender::compositor::EllipseMaskOperation::init_execution(), iridescence_lookup_sensitivity(), join_mesh_single(), knife_bm_tri_cagecos_get(), knife_bm_tri_cagecos_get_worldspace(), layer_bucket_depth_from_xy(), layer_bucket_init(), layer_bucket_isect_test(), lineart_create_render_buffer_v3(), slim::map_vertices_to_convex_border(), maskrasterize_layer_isect(), mesh_calc_eigen_matrix(), MOD_get_texture_coords(), blender::bke::pbvh::node_raycast_bmesh(), Freestyle::NodePerspectiveCamera::NodePerspectiveCamera(), normalEditModifier_do_directional(), normalEditModifier_do_radial(), libmv::NRealisticCamerasFull(), libmv::NRealisticCamerasSparse(), blender::geometry::p_abf_compute_sines(), blender::geometry::p_chart_correct_degenerate_triangle_point(), blender::geometry::p_chart_correct_degenerate_triangles2(), blender::geometry::p_chart_lscm_solve(), Freestyle::NodeTransform::Rotate(), libmv::RotationFromEulerVector(), RotationMatrix(), libmv::RotationRodrigues(), sabin_gamma(), Freestyle::OGF::MatrixUtil::semi_definite_symmetric_eigen(), Freestyle::FEdgeXDetector::setCreaseAngle(), solve_cubic(), libmv::SolveCubicPolynomial(), SolveP3(), Freestyle::SteerableViewMap::SteerableViewMap(), blender::geometry::UVMinimumEnclosingSquareFinder::update(), blender::compositor::KuwaharaAnisotropicOperation::update_memory_buffer_partial(), blender::compositor::MathCosineOperation::update_memory_buffer_partial(), IK_QSphericalSegment::UpdateAngle(), IK_QSwingSegment::UpdateAngle(), and IK_QElbowSegment::UpdateAngleApply().
| ccl_device_inline float3 cross | ( | const float3 | a, |
| const float3 | b ) |
Definition at line 253 of file math_float3.h.
References b, make_float3(), msub(), and z().
| ccl_device_inline float distance | ( | const float3 | a, |
| const float3 | b ) |
Definition at line 248 of file math_float3.h.
| ccl_device_inline float dot | ( | const float3 | a, |
| const float3 | b ) |
Definition at line 202 of file math_float3.h.
References b.
Referenced by faceforward(), len(), len_squared(), project(), reflect(), and refract().
| ccl_device_inline float dot_xy | ( | const float3 | a, |
| const float3 | b ) |
Definition at line 213 of file math_float3.h.
References b.
| ccl_device_inline float3 ensure_finite | ( | float3 | v | ) |
Definition at line 500 of file math_float3.h.
References isfinite_safe(), and v.
| ccl_device_inline float3 exp | ( | float3 | v | ) |
Definition at line 365 of file math_float3.h.
References expf, make_float3(), and v.
Referenced by _bli_math_fastpow(), ArHosekSkyModel_GetRadianceInternal(), BKE_gpencil_stroke_smooth_point(), bsdf_hair_chiang_albedo(), bsdf_hair_chiang_eval(), bsdf_hair_chiang_sample(), bsdf_hair_huang_albedo(), bsdf_hair_huang_eval_residual(), bsdf_hair_huang_sample(), blender::io::obj::OBJMTLParserTest::check_impl(), color_highlight_uncompress(), slim::compute_energy_with_jacobians(), Freestyle::GaussianFilter::computeMask(), ED_ANIM_get_1d_gauss_kernel(), Freestyle::edgeStopping(), filenum_newname(), libmv::Gaussian(), libmv::Gaussian2D(), blender::geometry::gaussian_blur_1D(), glow_blur_bitmap(), blender::math::half_to_float(), blender::io::obj::OBJImportTest::import_and_check(), blender::io::ply::PLYImportTest::import_and_check(), iridescence_lookup_sensitivity(), blender::ed::space_node::nodelink_batch_init(), paint_new_blur_kernel(), pow_i(), sb_detect_vertex_collisionCached(), blender::ed::space_node::set_nodelink_vertex(), sqrt3d(), sqrt3f(), blender::io::obj::TEST(), tonemapmodifier_apply(), blender::compositor::KuwaharaAnisotropicOperation::update_memory_buffer_partial(), blender::compositor::TonemapOperation::update_memory_buffer_started(), slim::update_weights_and_closest_rotations(), volume_color_transmittance(), and waveModifier_do().
| ccl_device_inline float3 fabs | ( | const float3 | a | ) |
Definition at line 299 of file math_float3.h.
References fabsf, and make_float3().
| ccl_device_inline float3 faceforward | ( | const float3 | vector, |
| const float3 | incident, | ||
| const float3 | reference ) |
Definition at line 394 of file math_float3.h.
Referenced by svm_vector_math(), and blender::nodes::try_dispatch_float_math_fl3_fl3_fl3_to_fl3().
| ccl_device_inline float3 floor | ( | const float3 | a | ) |
Definition at line 327 of file math_float3.h.
References floorf, and make_float3().
| ccl_device_inline float3 fmod | ( | const float3 | a, |
| const float | b ) |
Definition at line 313 of file math_float3.h.
References b, fmodf, and make_float3().
| ccl_device_inline float3 interp | ( | float3 | a, |
| float3 | b, | ||
| float | t ) |
Definition at line 445 of file math_float3.h.
References b.
| ccl_device_inline bool is_zero | ( | const float3 | a | ) |
Definition at line 455 of file math_float3.h.
References make_float3().
| ccl_device_inline bool isequal | ( | const float3 | a, |
| const float3 | b ) |
Definition at line 480 of file math_float3.h.
References b.
| ccl_device_inline bool isfinite_safe | ( | float3 | v | ) |
Definition at line 495 of file math_float3.h.
References isfinite_safe(), and v.
Referenced by ensure_finite(), and isfinite_safe().
| ccl_device_inline float len | ( | const float3 | a | ) |
Definition at line 222 of file math_float3.h.
| ccl_device_inline float len_squared | ( | const float3 | a | ) |
| ccl_device_inline float3 log | ( | float3 | v | ) |
Definition at line 370 of file math_float3.h.
References logf, make_float3(), and v.
Referenced by BKE_pbvh_bmesh_node_save_orig(), BM_log_all_added(), bm_log_assign_ids(), BM_log_before_all_removed(), BM_log_cleanup_entry(), BM_log_create(), BM_log_current_entry(), BM_log_entry_add(), BM_log_entry_drop(), BM_log_face_added(), bm_log_face_alloc(), bm_log_face_from_id(), bm_log_face_id_get(), bm_log_face_id_set(), BM_log_face_modified(), BM_log_face_removed(), bm_log_face_values_swap(), bm_log_faces_restore(), bm_log_faces_unmake(), BM_log_find_original_vert_co(), BM_log_find_original_vert_mask(), BM_log_free(), BM_log_from_existing_entries_create(), bm_log_id_ghash_release(), BM_log_length(), BM_log_mesh_elems_reorder(), BM_log_original_mask(), BM_log_original_vert_co(), BM_log_original_vert_data(), BM_log_original_vert_no(), BM_log_redo(), BM_log_undo(), BM_log_unused_ids(), BM_log_vert_added(), bm_log_vert_alloc(), BM_log_vert_before_modified(), bm_log_vert_from_id(), bm_log_vert_id_get(), bm_log_vert_id_set(), BM_log_vert_removed(), bm_log_vert_values_swap(), bm_log_verts_restore(), bm_log_verts_unmake(), bsdf_principled_hair_sigma_from_reflectance(), color_highlight_compress(), compile_shader_program(), slim::compute_energy_with_jacobians(), blender::bke::pbvh::copy_original_vert(), blender::ed::space_node::draw_nodetree(), ED_undo_object_set_active_or_warn(), btDeformableNeoHookeanForce::elasticEnergyDensity(), fcm_fn_generator_evaluate(), libmv::GaussianInversePositive(), blender::ed::geometry::get_static_eval_log(), blender::nodes::geo_eval_log::GeoModifierLog::get_tree_log_by_zone_for_node_editor(), blender::nodes::geo_eval_log::GeoTreeLogger::log_viewer_node(), op_log2(), power_of_2(), blender::gpu::Shader::print_log(), safe_log(), shader_print_errors(), soft_range_round_down(), soft_range_round_up(), sqrt3d(), sqrt3f(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), blender::gpu::render_graph::TEST(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), tonemapmodifier_apply(), blender::compositor::MathLogarithmOperation::update_memory_buffer_partial(), blender::compositor::TonemapOperation::update_memory_buffer_started(), slim::update_weights_and_closest_rotations(), and valuefn().
| ccl_device_inline float3 max | ( | const float3 | a, |
| const float3 | b ) |
Definition at line 285 of file math_float3.h.
References b, make_float3(), and max.
| ccl_device_inline float3 min | ( | const float3 | a, |
| const float3 | b ) |
Definition at line 276 of file math_float3.h.
References b, make_float3(), and min.
| ccl_device_inline float3 mix | ( | const float3 | a, |
| const float3 | b, | ||
| float | t ) |
Definition at line 345 of file math_float3.h.
References b.
| ccl_device_inline float3 normalize | ( | const float3 | a | ) |
Definition at line 266 of file math_float3.h.
| ccl_device_inline float3 normalize_len | ( | const float3 | a, |
| ccl_private float * | t ) |
Definition at line 408 of file math_float3.h.
| ccl_device_inline float3 one_float3 | ( | ) |
Definition at line 24 of file math_float3.h.
References make_float3().
Referenced by color_highlight_compress(), color_highlight_uncompress(), Object::compute_volume_step_size(), ShaderGraph::connect(), InvertNode::constant_fold(), MixVectorNode::constant_fold(), MixVectorNonUniformNode::constant_fold(), film_calculate_shadow_catcher(), flatten_closure_tree(), guiding_record_bssrdf_bounce(), guiding_record_bssrdf_segment(), guiding_record_light_surface_segment(), guiding_record_surface_bounce(), guiding_record_surface_segment(), guiding_record_volume_bounce(), guiding_record_volume_segment(), ShaderManager::init_xyz_transforms(), iridescence_airy_summation(), ConstantFolder::is_one(), ConstantFolder::make_one(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), object_volume_density(), osl_allocate_closure_component(), osl_closure_dielectric_bsdf_setup(), osl_closure_generalized_schlick_bsdf_setup(), osl_closure_microfacet_setup(), osl_mul_closure_color(), output_estimate_emission(), precompute_ggx_E(), precompute_ggx_gen_schlick_s(), precompute_ggx_glass_E(), TextureMapping::skip(), svm_node_closure_bsdf(), svm_node_mix_vector(), svm_node_mix_vector_non_uniform(), svm_node_vector_map_range(), TEST(), and TEST_F().
| ccl_device_inline bool operator!= | ( | const float3 | a, |
| const float3 | b ) |
Definition at line 197 of file math_float3.h.
References b.
| ccl_device_inline float3 operator* | ( | const float | f, |
| const float3 | a ) |
Definition at line 65 of file math_float3.h.
References make_float3().
| ccl_device_inline float3 operator* | ( | const float3 | a, |
| const float | f ) |
Definition at line 56 of file math_float3.h.
References make_float3().
| ccl_device_inline float3 operator* | ( | const float3 | a, |
| const float3 | b ) |
Definition at line 47 of file math_float3.h.
References b, and make_float3().
| ccl_device_inline float3 operator*= | ( | float3 & | a, |
| const float3 | b ) |
Definition at line 140 of file math_float3.h.
References b.
| ccl_device_inline float3 operator*= | ( | float3 & | a, |
| float | f ) |
Definition at line 145 of file math_float3.h.
| ccl_device_inline packed_float3 operator*= | ( | packed_float3 & | a, |
| const float3 | b ) |
Definition at line 163 of file math_float3.h.
References b.
| ccl_device_inline packed_float3 operator*= | ( | packed_float3 & | a, |
| float | f ) |
Definition at line 169 of file math_float3.h.
| ccl_device_inline float3 operator+ | ( | const float3 | a, |
| const float | f ) |
Definition at line 111 of file math_float3.h.
References make_float3().
| ccl_device_inline float3 operator+ | ( | const float3 | a, |
| const float3 | b ) |
Definition at line 102 of file math_float3.h.
References b, and make_float3().
| ccl_device_inline float3 operator+= | ( | float3 & | a, |
| const float3 | b ) |
Definition at line 130 of file math_float3.h.
References b.
| ccl_device_inline float3 operator- | ( | const float3 & | a | ) |
Definition at line 38 of file math_float3.h.
References make_float3().
| ccl_device_inline float3 operator- | ( | const float3 | a, |
| const float | f ) |
Definition at line 125 of file math_float3.h.
References make_float3().
| ccl_device_inline float3 operator- | ( | const float3 | a, |
| const float3 | b ) |
Definition at line 116 of file math_float3.h.
References b, and make_float3().
| ccl_device_inline float3 operator-= | ( | float3 & | a, |
| const float3 | b ) |
Definition at line 135 of file math_float3.h.
References b.
| ccl_device_inline float3 operator/ | ( | const float | f, |
| const float3 | a ) |
Definition at line 74 of file math_float3.h.
References make_float3().
| ccl_device_inline float3 operator/ | ( | const float3 | a, |
| const float | f ) |
Definition at line 83 of file math_float3.h.
References make_float3().
| ccl_device_inline float3 operator/ | ( | const float3 | a, |
| const float3 | b ) |
Definition at line 93 of file math_float3.h.
References b, and make_float3().
| ccl_device_inline float3 operator/= | ( | float3 & | a, |
| const float3 | b ) |
Definition at line 150 of file math_float3.h.
References b.
| ccl_device_inline float3 operator/= | ( | float3 & | a, |
| float | f ) |
Definition at line 155 of file math_float3.h.
| ccl_device_inline packed_float3 operator/= | ( | packed_float3 & | a, |
| const float3 | b ) |
Definition at line 175 of file math_float3.h.
References b.
| ccl_device_inline packed_float3 operator/= | ( | packed_float3 & | a, |
| float | f ) |
Definition at line 181 of file math_float3.h.
| ccl_device_inline bool operator== | ( | const float3 | a, |
| const float3 | b ) |
Definition at line 188 of file math_float3.h.
References b.
| ccl_device_inline float3 power | ( | float3 | v, |
| float | e ) |
Definition at line 490 of file math_float3.h.
References e, make_float3(), powf, and v.
| ccl_device_inline float3 project | ( | const float3 | v, |
| const float3 | v_proj ) |
Definition at line 402 of file math_float3.h.
References dot(), len_squared(), v, and zero_float3().
| ccl_device_inline float3 rcp | ( | const float3 | a | ) |
Definition at line 350 of file math_float3.h.
References make_float3().
Referenced by bvh_inverse_direction(), BVHObjectBinning::BVHObjectBinning(), and ray_aabb_intersect().
| ccl_device_inline float reduce_add | ( | const float3 | a | ) |
Definition at line 464 of file math_float3.h.
Referenced by average().
| ccl_device_inline float reduce_max | ( | float3 | a | ) |
Definition at line 236 of file math_float3.h.
References max.
| ccl_device_inline float reduce_min | ( | float3 | a | ) |
Definition at line 231 of file math_float3.h.
References min.
| ccl_device_inline float3 reflect | ( | const float3 | incident, |
| const float3 | unit_normal ) |
Definition at line 380 of file math_float3.h.
References dot().
Referenced by bsdf_hair_huang_eval_residual(), bsdf_hair_huang_sample(), blender::geometry::PackIsland::build_inverse_transformation(), blender::geometry::PackIsland::build_transformation(), svm_vector_math(), blender::nodes::try_dispatch_float_math_fl3_fl3_to_fl3(), and Vector_reflect().
| ccl_device_inline float3 refract | ( | const float3 | incident, |
| const float3 | normal, | ||
| const float | eta ) |
Definition at line 385 of file math_float3.h.
References dot(), sqrt(), and zero_float3().
Referenced by svm_vector_math(), and blender::nodes::try_dispatch_float_math_fl3_fl3_fl_to_fl3().
| ccl_device_inline float3 safe_divide | ( | const float3 | a, |
| const float | b ) |
Definition at line 440 of file math_float3.h.
References b, and zero_float3().
| ccl_device_inline float3 safe_divide | ( | const float3 | a, |
| const float3 | b ) |
Definition at line 433 of file math_float3.h.
References b, and make_float3().
| ccl_device_inline float3 safe_normalize | ( | const float3 | a | ) |
Definition at line 415 of file math_float3.h.
References len.
| ccl_device_inline float3 safe_normalize_fallback | ( | const float3 | a, |
| const float3 | fallback ) |
Definition at line 421 of file math_float3.h.
References len.
Referenced by ensure_valid_specular_reflection(), osl_closure_ashikhmin_velvet_setup(), osl_closure_bssrdf_setup(), osl_closure_conductor_bsdf_setup(), osl_closure_dielectric_bsdf_setup(), osl_closure_diffuse_ramp_setup(), osl_closure_diffuse_setup(), osl_closure_diffuse_toon_setup(), osl_closure_generalized_schlick_bsdf_setup(), osl_closure_glossy_toon_setup(), osl_closure_hair_chiang_setup(), osl_closure_hair_huang_setup(), osl_closure_hair_reflection_setup(), osl_closure_hair_transmission_setup(), osl_closure_microfacet_f82_tint_setup(), osl_closure_microfacet_multi_ggx_aniso_setup(), osl_closure_microfacet_multi_ggx_glass_setup(), osl_closure_microfacet_setup(), osl_closure_oren_nayar_diffuse_bsdf_setup(), osl_closure_oren_nayar_setup(), osl_closure_phong_ramp_setup(), osl_closure_reflection_setup(), osl_closure_refraction_setup(), osl_closure_sheen_setup(), osl_closure_translucent_setup(), and svm_node_closure_bsdf().
| ccl_device_inline float3 safe_normalize_len | ( | const float3 | a, |
| ccl_private float * | t ) |
Definition at line 427 of file math_float3.h.
References len.
Referenced by area_light_tree_parameters(), point_light_tree_parameters(), spot_light_tree_parameters(), triangle_light_sample(), and triangle_light_tree_parameters().
| ccl_device_inline float3 saturate | ( | float3 | a | ) |
Definition at line 360 of file math_float3.h.
References make_float3(), and saturatef.
| ccl_device_inline float3 sqr | ( | float3 | a | ) |
Definition at line 450 of file math_float3.h.
| ccl_device_inline float3 sqrt | ( | const float3 | a | ) |
Definition at line 318 of file math_float3.h.
References make_float3(), and sqrtf.
Referenced by refract().
| CCL_NAMESPACE_BEGIN ccl_device_inline float3 zero_float3 | ( | ) |
Definition at line 15 of file math_float3.h.
References make_float3().
Referenced by BVHBuild::add_references(), attr_create_pointiness(), background_portal_sample(), bsdf_alloc(), bsdf_hair_huang_eval_r(), Camera::Camera(), camera_sample_panorama(), camera_sample_perspective(), Hair::compute_bounds(), Mesh::compute_bounds(), TextureMapping::compute_transform(), BackgroundNode::constant_fold(), BlackbodyNode::constant_fold(), EmissionNode::constant_fold(), VectorDisplacementNode::constant_fold(), VectorMathNode::constant_fold(), HDCYCLES_NAMESPACE_OPEN_SCOPE::convertToCycles< float3 >(), differential3_zero(), GeometryManager::displace(), export_hair_curves(), film_write_data_passes_background(), fisheye_equisolid_to_direction(), fisheye_lens_polynomial_to_direction(), fisheye_to_direction(), flatten_closure_tree(), OSLRenderServices::get_background_attribute(), guiding_record_bssrdf_segment(), guiding_record_bssrdf_weight(), guiding_record_light_surface_segment(), guiding_record_surface_segment(), guiding_record_volume_segment(), Light::has_contribution(), integrate_camera_sample(), integrator_init_from_bake(), Object::is_traceable(), ConstantFolder::is_zero(), kernel_background_evaluate(), light_sample(), ConstantFolder::make_zero(), mirrorball_to_direction(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), NODE_DEFINE(), ObtainCacheParticleData(), osl_blackbody_vf(), osl_closure_microfacet_multi_ggx_glass_setup(), osl_mul_closure_color(), osl_transform_triple(), osl_transformc(), osl_zero_albedo(), output_estimate_emission(), point_density_texture_space(), project(), refract(), safe_divide(), Shader::Shader(), shader_setup_from_background(), shader_setup_from_displace(), shader_setup_from_sample(), shadow_ray_setup(), TextureMapping::skip(), surface_shader_ao(), surface_shader_average_normal(), svm_mix_exclusion(), svm_node_blackbody(), svm_node_closure_bsdf(), svm_node_displacement(), svm_node_principled_volume(), svm_node_set_bump(), svm_node_tangent(), svm_node_tex_coord(), svm_node_tex_coord_bump_dx(), svm_node_tex_coord_bump_dy(), svm_node_tex_voronoi(), svm_node_vector_displacement(), svm_node_vector_map_range(), svm_vector_math(), HdCyclesLight::Sync(), Mesh::tessellate(), TEST_F(), TEST_F(), TEST_F(), transform_perspective(), HdCyclesSession::UpdateScene(), Camera::world_to_raster_size(), xml_read_transform(), and xyz_to_rgb_clamped().