|
Blender V4.3
|
Go to the source code of this file.
| ccl_device_inline float2 as_float2 | ( | const float4 & | a | ) |
Definition at line 220 of file math_float2.h.
References make_float2().
| ccl_device_inline float average | ( | const float2 | a | ) |
Definition at line 128 of file math_float2.h.
Referenced by background_cdf(), bsdf_alloc(), bsdf_hair_huang_sample(), bsdf_microfacet_eval(), bsdf_microfacet_sample(), bsdf_microfacet_setup_fresnel_conductor(), bsdf_microfacet_setup_fresnel_dielectric(), bsdf_microfacet_setup_fresnel_dielectric_tint(), bsdf_microfacet_setup_fresnel_f82_tint(), bsdf_microfacet_setup_fresnel_generalized_schlick(), bsdf_ray_portal_setup(), bsdf_transparent_setup(), bssrdf_alloc(), bssrdf_setup(), Object::compute_volume_step_size(), ConvertNode::constant_fold(), btSoftBodyHelpers::Draw(), film_calculate_shadow_catcher_matte_with_shadow(), film_write_data_passes(), fresnel_dielectric(), SkyTextureNode::get_sun_average_radiance(), integrate_background(), integrate_surface_holdout(), kernel_curve_shadow_transparency_evaluate(), LightTreeEmitter::LightTreeEmitter(), microfacet_ggx_preserve_energy(), osl_closure_generalized_schlick_bsdf_setup(), precompute_ggx_E(), precompute_ggx_glass_E(), blender::ed::sculpt_paint::expand::reposition_pivot(), set_attribute_float2(), set_attribute_float3(), set_attribute_float3(), set_attribute_float4(), set_attribute_float4(), blender::io::usd::USDMaterialReader::set_node_input(), surface_shader_ao(), surface_shader_average_normal(), surface_shader_average_roughness(), svm_node_attr(), svm_node_attr_bump_dx(), svm_node_attr_bump_dy(), svm_node_convert(), svm_node_tex_magic(), and ColorSpaceManager::to_scene_linear().
| ccl_device_inline float2 clamp | ( | const float2 | a, |
| const float2 | mn, | ||
| const float2 | mx ) |
Definition at line 205 of file math_float2.h.
| ccl_device_inline float cross | ( | const float2 | a, |
| const float2 | b ) |
Definition at line 179 of file math_float2.h.
References b.
Referenced by __anyhit__kernel_optix_local_hit(), angle_signed_on_axis_normalized_v3v3_v3(), Hair::apply_transform(), PointCloud::apply_transform(), area_light_rect_sample(), bevel_list_smooth(), BKE_gpencil_stroke_2d_flat(), BM_edge_is_convex(), BM_edgeloop_calc_normal_aligned(), BM_face_calc_area_uv_signed(), bm_face_split_by_concave(), bm_mesh_calc_volume_face(), bsdf_hair_chiang_eval(), bsdf_hair_chiang_sample(), bsdf_hair_reflection_sample(), bsdf_hair_transmission_sample(), bt_edge_plane(), btPrimitiveTriangle::buildTriPlane(), btTriangleShapeEx::buildTriPlane(), calcNormal(), camera_sample_panorama(), blender::compositor::check_corners(), SphereTriangleDetector::collide(), compute_emitter_centroid_and_dir(), compute_face_normal(), Mesh::Triangle::compute_normal(), computeAccelerationsArticulatedBodyAlgorithmMultiDof(), btRigidBody::computeImpulseDenominator(), continuousCollisionDetection(), cross_poly_v2(), ED_view3d_depth_read_cached_normal(), edbm_dupli_extrude_cursor_invoke(), edge_edge_angle_less_than_180(), edges_angle_kind(), BicubicPatch::eval(), fillConstraintJacobianMultiDof(), fillMultiBodyConstraint(), blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix(), blender::get_legacy_stroke_matrix(), blender::bke::greasepencil::get_local_to_stroke_matrix(), getJs(), getVelocityInLocalPointNoDelta(), getVelocityInLocalPointObsolete(), initialize2(), internalGetVelocityInLocalPointObsolete(), MyInternalTriangleIndexCallback::internalProcessTriangleIndex(), is_edge_convex_v3(), is_poly_convex_v2(), LightTreeEmitter::LightTreeEmitter(), lineIntersectsTriangle(), make_orthonormals(), make_orthonormals_safe_tangent(), make_orthonormals_tangent(), make_transform_frame(), mean_value_half_tan_v3(), microfacet_ggx_sample_vndf(), modify_mesh(), motion_triangle_shader_setup(), Mesh::SubdFace::normal(), osl_area(), osl_calculatenormal(), btDeformableMultiBodyDynamicsWorld::performGeometricCollisions(), pointOutsideOfPlane(), primitive_tangent(), btConnectivityProcessor::processTriangle(), btSoftBodyTriangleCallback::processTriangle(), DebugDrawcallback::processTriangle(), blender::eevee::IrradianceBake::raylists_build(), setupContactConstraint(), setupFrictionConstraint(), setupMultiBodyContactConstraint(), setupSpherical(), slide_check_corners(), sortCachedPoints(), spherical_stereo_transform(), svm_node_normal_map(), svm_node_set_bump(), svm_node_tangent(), svm_node_vector_displacement(), svm_vector_math(), tan_angle(), transform_inverse_cross(), transform_inverse_impl(), transform_negative_scale(), triangle_area(), triangle_light_pdf(), triangle_light_sample(), triangle_normal(), triangle_point_normal(), and wireframe().
| ccl_device_inline float distance | ( | const float2 | a, |
| const float2 | b ) |
Definition at line 174 of file math_float2.h.
| ccl_device_inline float dot | ( | const float2 | a, |
| const float2 | b ) |
Definition at line 122 of file math_float2.h.
Referenced by len(), and len_squared().
| ccl_device_inline float2 fabs | ( | const float2 | a | ) |
Definition at line 215 of file math_float2.h.
References fabsf, and make_float2().
Referenced by iTaSC::Cache::addCacheVectorIfDifferent(), adjustSwingAxisToUseEllipseNormal(), Freestyle::angle_from_cotan(), IK_QJacobian::AngleUpdateNorm(), area_split_factor(), background_cdf(), bake_offset_towards_center(), blend_offset_fcurve_segment(), blend_to_neighbor_fcurve_segment(), BLI_str_format_byte_unit(), BM_mesh_calc_volume(), bmo_extrude_face_region_exec(), Freestyle::ViewMapBuilder::BuildGrid(), blender::bke::curves::poly::calculate_normals_minimum(), BCAnimationCurve::closest_index_above(), cloth_calc_force(), collision_compute_barycentric(), blender::ed::sculpt_paint::color::color_filter_task(), colorfn(), Object::compute_volume_step_size(), computeConeLimitInfo(), Freestyle::FEdgeXDetector::computeCurvatures(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::Strip::computeTexCoordWithTips(), Freestyle::computeVisibility(), Freestyle::SteerableViewMap::ComputeWeight(), Freestyle::Strip::createStrip(), createTransActionData(), Freestyle::CurveInternal::__point_iterator< Traits >::decrement(), Freestyle::CurveInternal::CurvePointIterator::decrement(), DistanceBetweenLines(), double_round(), ElementResize(), Freestyle::OGF::NormalCycle::end(), Shader::estimate_emission(), libmv::euclidean_resection::EuclideanResectionAnsarDaniilidis(), Freestyle::firstIntersectionGridVisitor::examineOccluder(), blender::meshintersect::FatCo< double >::FatCo(), film_clamp_light(), find_superellipse_chord_endpoint(), Freestyle::ViewMapBuilder::FindOccludee(), Freestyle::findOccludee(), fresnel_dielectric_cos(), FuzzyZero(), blender::io::alembic::get_sample_interpolation_settings(), blender::meshintersect::get_vertex_by_coord(), KDL::Rotation::GetEulerZYZ(), GHOST_Wintab::getInput(), iTaSC::Armature::getMaxJointChange(), GHOST_WindowWin32::getPointerInfo(), GetPointForAngle(), KDL::Rotation::GetRPY(), gizmo_ruler_draw(), graph_key_shortest_dist(), grid_axis_start_and_count(), Freestyle::gts_vertex_principal_directions(), halton_ex(), Freestyle::SilhouetteGeomEngine::ImageToWorldParameter(), BCMatrix::in_range(), init_scene(), integer_digits_d(), integer_digits_f(), Freestyle::GeomUtils::intersect2dLine2dLine(), Freestyle::GeomUtils::intersect2dSeg2dSeg(), Freestyle::GeomUtils::intersect2dSeg2dSegParametric(), Freestyle::GeomUtils::intersect2dSegPoly(), Freestyle::GeomUtils::intersectRayPlane(), BCAnimationCurve::is_animated(), isect_seg_seg_v2_lambda_mu_db(), keyframe_time_differs(), Freestyle::LanczosWindowed(), btLemkeAlgorithm::LexicographicPositive(), light_sample_terminate(), light_tree_node_importance(), LightTreeEmitter::LightTreeEmitter(), lineart_chain_create_crossing_point(), lineart_create_edges_from_isec_data(), lineart_intersect_seg_seg(), lineart_line_isec_2d_ignore_line2pos(), lineart_shadow_cast_onto_triangle(), lineart_triangle_2v_intersection_math(), lineart_triangle_edge_image_space_occlusion(), mat3_normalized_to_quat_fast(), match_slope_fcurve_segment(), blender::meshintersect::math_abs(), blender::meshintersect::math_abs< double >(), KDL::Norm(), KDL::Vector2::Norm(), KDL::Vector::Norm(), Freestyle::notValid(), GHOST_DirectManipulationViewportEventHandler::OnContentUpdated(), Freestyle::less_SVertex2D::operator()(), Freestyle::GeomUtils::overlapTriangleBox(), blender::ed::sculpt_paint::paint_stroke_integrate_overlap(), path_state_continuation_probability(), pose_slide_apply_quat(), pose_slide_apply_val(), Freestyle::FEdgeXDetector::ProcessRidgeFace(), Freestyle::FEdgeXDetector::ProcessSuggestiveContourFace(), KDL::PYTHAG(), quadric_to_tensor_m3_inverse(), quat_to_mat4(), Freestyle::AppView::rabs(), recalcData_sequencer_image(), resolve_quad_uv_v2_deriv(), retiming_fake_key_frame_clicked(), safe_noise(), safe_noise(), safe_noise(), safe_noise(), safe_snoise(), safe_snoise(), safe_snoise(), safe_snoise(), scrollbar_start_scrolling(), Freestyle::OGF::MatrixUtil::semi_definite_symmetric_eigen(), SEQ_sound_equalizermodifier_recreator(), setMotorTargetInConstraintSpace(), Freestyle::CalligraphicShader::shade(), Freestyle::StrokeShaders::BezierCurveShader::shade(), KDL::SIGN(), sinc(), iTaSC::WDLSSolver::solve(), iTaSC::WSDLSSolver::solve(), libmv::SolveCubicPolynomial(), SolveP3(), SolveP4De(), SolveP5_1(), SphericalRangeParameters(), KDL::svd_eigen_HH(), svm_mix_diff(), svm_vector_math(), libmv::TrkltRegionTracker::Track(), blender::nodes::try_dispatch_float_math_fl_to_fl(), UI_calc_float_precision(), ui_draw_colorband_handle(), blender::compositor::MathAbsoluteOperation::update_memory_buffer_partial(), volume_sample_channel(), voronoi_distance(), and widgetbase_set_uniform_alpha_check().
| ccl_device_inline float2 floor | ( | const float2 | a | ) |
Definition at line 235 of file math_float2.h.
References floorf, and make_float2().
Referenced by blender::bke::pbvh::uv_islands::add_uv_island(), blender::animrig::bake_fcurve_segments(), BKE_fcurve_deduplicate_keys(), BKE_lattice_deform_data_eval_co(), BKE_ptcache_read(), BLI_cellNoiseU(), BLI_noise_cell_v3(), BLI_noise_voronoi(), boxsampleclip(), colorfn(), colorfn(), compute_2d_gabor_noise(), compute_3d_gabor_noise(), Freestyle::GaussianFilter::computeMaskSize(), Freestyle::Grid::configure(), cp_key(), displayed_channel_range_get(), do_2d_mapping(), blender::bke::pbvh::pixels::do_encode_pixels(), do_key(), draw_seq_fcurve_overlay(), fcm_cycles_time(), fract(), blender::compositor::RotateOperation::get_area_rotation_bounds(), BCMatrix::get_matrix(), BCMatrix::get_matrix(), blender::nodes::node_fn_float_to_int_cc::get_multi_function(), gpencil_frame_snap_nearest(), gridRaycast(), hsv_to_rgb(), imagewrap(), imagewraposa(), init_mv_jit(), Freestyle::Grid::initInfiniteRay(), Freestyle::Grid::initRay(), integer_digits_d(), integer_digits_f(), newPerlin(), blender::nodes::node_fn_random_value_cc::node_build_multi_function(), old_mdisps_bilinear(), KDL::Jacobian::operator()(), KDL::Jacobian::operator()(), orgBlenderNoise(), blender::ed::outliner::outliner_back(), blender::gpu::FrameBuffer::recursive_downsample(), libmv::RegionIsInBounds(), Freestyle::Stroke::Resample(), safe_floored_modulo(), Freestyle::StrokeShaders::BezierCurveShader::shade(), snap(), snap_mask_layer_nearest(), snapFrameTransform(), soft_range_round_down(), speed_effect_interpolation_ratio_get(), surfaceGenerateGrid(), svm_vector_math(), textview_draw_string(), blender::nodes::try_dispatch_float_math_fl3_fl3_to_fl3(), blender::nodes::try_dispatch_float_math_fl3_to_fl3(), ui_but_hide_fraction(), ui_but_string_set(), ui_draw_aligned_panel(), UI_fontstyle_draw_ex(), UI_GetColorPtrBlendShade3ubv(), uilist_prepare(), unit_dual_convert(), iTaSC::Scene::update(), blender::compositor::MathFloorOperation::update_memory_buffer_partial(), blender::compositor::MathFractOperation::update_memory_buffer_partial(), blender::compositor::MathTruncOperation::update_memory_buffer_partial(), blender::compositor::PosterizeOperation::update_memory_buffer_partial(), valuefn(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), voronoi_f1(), voronoi_f1(), voronoi_f1(), voronoi_f1(), voronoi_f1(), voronoi_f1(), voronoi_f1(), voronoi_f2(), voronoi_f2(), voronoi_f2(), voronoi_f2(), voronoi_f2(), voronoi_f2(), voronoi_f2(), voronoi_n_sphere_radius(), voronoi_n_sphere_radius(), voronoi_n_sphere_radius(), voronoi_n_sphere_radius(), voronoi_n_sphere_radius(), voronoi_n_sphere_radius(), voronoi_n_sphere_radius(), voronoi_smooth_f1(), voronoi_smooth_f1(), voronoi_smooth_f1(), voronoi_smooth_f1(), voronoi_smooth_f1(), voronoi_smooth_f1(), voronoi_smooth_f1(), WM_gesture_circle_modal(), wrap(), zbuf_add_to_span(), and zspan_scanconvert().
| ccl_device_inline float2 fmod | ( | const float2 | a, |
| const float | b ) |
Definition at line 210 of file math_float2.h.
References b, fmodf, and make_float2().
Referenced by BLI_timecode_string_from_time_simple(), blender::ed::sculpt_paint::color::color_filter_task(), dial_ghostarc_draw(), dial_ghostarc_get_angles(), distribute_from_faces_exec(), distribute_from_volume_exec(), blender::ed::sculpt_paint::color::do_paint_brush_task(), extrawindow_spin_cursor(), blender::ed::sculpt_paint::expand::face_state_get(), fcm_cycles_time(), fcm_fn_generator_evaluate(), getcolor_fcurve_rainbow(), blender::ed::sculpt_paint::expand::gradient_value_get(), grid_axis_start_and_count(), hammersley_create(), nlastrip_evaluate_controls(), paint_brush_color_get(), radial_control_modal(), safe_modulo(), safe_noise(), safe_noise(), safe_noise(), safe_noise(), safe_snoise(), safe_snoise(), safe_snoise(), safe_snoise(), SKY_arhosekskymodel_radiance(), snoise_2d(), snoise_3d(), snoise_4d(), blender::compositor::MathModuloOperation::update_memory_buffer_partial(), blender::compositor::MathPowerOperation::update_memory_buffer_partial(), valuefn(), and blender::ed::sculpt_paint::expand::vert_falloff_is_enabled().
| ccl_device_inline float2 interp | ( | const float2 | a, |
| const float2 | b, | ||
| float | t ) |
Definition at line 225 of file math_float2.h.
References b.
Referenced by camera_sample_perspective(), ClipSegmentToLine(), CurvesNode::constant_fold(), InvertNode::constant_fold(), CustomData_data_transfer(), data_transfer_layersmapping_add_item(), data_transfer_layersmapping_add_item_cd(), data_transfer_layersmapping_cdlayers(), data_transfer_layersmapping_cdlayers_multisrc_to_dst(), data_transfer_layersmapping_generate(), LinearQuadPatch::eval(), film_apply_pass_pixel_overlays_rgba(), SkyTextureNode::get_sun_average_radiance(), blender::io::usd::import_mesh_skel_bindings(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::interp_3d(), CCL_NAMESPACE_BEGIN::kernel_tex_image_interp_3d(), kernel_tex_image_interp_3d(), kernel_tex_image_interp_3d(), QuadDice::map_uv(), meshcache_read_mdd_range(), meshcache_read_pc2_range(), MOD_meshcache_calc_range(), MOD_meshcache_read_mdd_frame(), MOD_meshcache_read_mdd_times(), MOD_meshcache_read_pc2_frame(), MOD_meshcache_read_pc2_times(), paint_sample_color(), blender::draw::particle_key_weight(), project_paint_PickColor(), SKY_arhosekskymodel_radiance(), sky_radiance_nishita(), svm_math_wavelength_color_xyz(), svm_mix_add(), svm_mix_blend(), svm_mix_color(), svm_mix_dark(), svm_mix_diff(), svm_mix_exclusion(), svm_mix_hue(), svm_mix_light(), svm_mix_mul(), svm_mix_sub(), blender::gpu::to_string(), to_string(), blender::gpu::to_string_msl(), and AnimationImporter::write_animation().
| ccl_device_inline bool is_zero | ( | const float2 | a | ) |
Definition at line 117 of file math_float2.h.
Referenced by bsdf_eval_is_zero(), bsdf_microfacet_estimate_albedo(), bsdf_microfacet_eval(), bsdf_microfacet_sample(), bsdf_microfacet_setup_fresnel_generalized_schlick(), bsdf_ray_portal_setup(), camera_sample_panorama(), blender::gpu::convert_float_formats(), ShaderManager::device_update_common(), direction_to_equirectangular_range(), Shader::estimate_emission(), flatten_closure_tree(), Light::has_contribution(), integrate_distant_lights(), integrate_light(), integrate_surface_direct_light(), OrientationBounds::is_empty(), light_tree_to_local_space(), motion_triangle_smooth_normal(), blender::nodes::node_geo_tool_set_face_set_cc::node_geo_exec(), osl_closure_dielectric_bsdf_setup(), osl_closure_generalized_schlick_bsdf_setup(), surface_shader_ao(), surface_shader_average_normal(), svm_node_closure_bsdf(), svm_node_normal_map(), svm_node_set_bump(), transform_motion_decompose(), transform_orientations_create_from_axis(), triangle_smooth_normal(), and triangle_smooth_normal_unnormalized().
| ccl_device_inline bool isequal | ( | const float2 | a, |
| const float2 | b ) |
Definition at line 133 of file math_float2.h.
References b.
Referenced by bsdf_eval(), bsdf_microfacet_setup_fresnel_f82_tint(), bsdf_sample(), fresnel_iridescence(), integrate_surface_holdout(), light_tree_importance(), maybe_ensure_valid_specular_reflection(), microfacet_fresnel(), microfacet_ggx_preserve_energy(), and svm_node_closure_bsdf().
| ccl_device_inline float len | ( | const float2 | a | ) |
Definition at line 142 of file math_float2.h.
| ccl_device_inline float len_squared | ( | const float2 | a | ) |
Definition at line 162 of file math_float2.h.
References dot().
Referenced by blender::ed::sculpt_paint::cloth::add_constraints_for_verts(), atmosphere_intersection(), attr_create_pointiness(), bsdf_aniso_D(), LightManager::device_update_lights(), ExportCurveSegmentsMotion(), integrate_surface_ray_portal(), intersection_ray_valid(), light_tree_cos_bound_subtended_angle(), make_orthonormals_safe_tangent(), microfacet_ggx_sample_vndf(), EdgeToSort< T >::operator=(), EdgeToSort< T >::operator=(), point_light_mnee_sample_update(), point_light_sample(), point_light_sample_from_intersection(), ray_aligned_disk_intersect(), ray_cone_intersect(), ray_sphere_intersect(), sample_cos_hemisphere(), sample_uniform_cone(), sample_uniform_hemisphere(), scene_intersect_valid(), spot_light_mnee_sample_update(), spot_light_sample(), spot_light_sample_from_intersection(), EdgeDice::stitch_triangles(), surface_intersection(), transform_uniform_scale(), triangle_light_pdf(), triangle_light_sample(), and Camera::world_to_raster_size().
| ccl_device_inline float2 max | ( | const float2 | a, |
| const float2 | b ) |
Definition at line 200 of file math_float2.h.
References b, make_float2(), and max.
| ccl_device_inline float2 min | ( | const float2 | a, |
| const float2 | b ) |
Definition at line 195 of file math_float2.h.
References b, make_float2(), and min.
| ccl_device_inline float2 mix | ( | const float2 | a, |
| const float2 | b, | ||
| float | t ) |
Definition at line 230 of file math_float2.h.
References b.
| ccl_device_inline float2 normalize | ( | const float2 | a | ) |
Definition at line 184 of file math_float2.h.
References len.
| ccl_device_inline float2 normalize_len | ( | const float2 | a, |
| ccl_private float * | t ) |
Definition at line 189 of file math_float2.h.
References len.
Referenced by area_light_eval(), area_light_mnee_sample_update(), background_portal_pdf(), background_portal_sample(), BVHUnaligned::compute_aligned_space(), LightManager::device_update_lights(), integrator_volume_stack_update_for_subsurface(), light_tree_node_importance(), light_tree_to_local_space(), point_light_mnee_sample_update(), point_light_sample(), ray_aligned_disk_intersect(), shadow_ray_setup(), spot_light_mnee_sample_update(), spot_light_sample(), and triangle_light_sample().
| ccl_device_inline float2 one_float2 | ( | ) |
Definition at line 19 of file math_float2.h.
References make_float2().
Referenced by blender_camera_init(), bsdf_roughness_eta(), bsdf_sample(), fresnel_dielectric_polarized(), fresnel_iridescence(), point_light_tree_parameters(), and spot_light_tree_parameters().
| ccl_device_inline bool operator!= | ( | const float2 | a, |
| const float2 | b ) |
| ccl_device_inline float2 operator* | ( | const float2 | a, |
| const float2 | b ) |
Definition at line 30 of file math_float2.h.
References b, and make_float2().
| ccl_device_inline float2 operator* | ( | const float2 | a, |
| float | f ) |
Definition at line 35 of file math_float2.h.
References make_float2().
| ccl_device_inline float2 operator* | ( | float | f, |
| const float2 | a ) |
Definition at line 40 of file math_float2.h.
References make_float2().
| ccl_device_inline float2 operator*= | ( | float2 & | a, |
| const float2 | b ) |
Definition at line 86 of file math_float2.h.
References b.
| ccl_device_inline float2 operator*= | ( | float2 & | a, |
| float | f ) |
Definition at line 91 of file math_float2.h.
| ccl_device_inline float2 operator+ | ( | const float2 | a, |
| const float | f ) |
Definition at line 66 of file math_float2.h.
References make_float2().
| ccl_device_inline float2 operator+ | ( | const float2 | a, |
| const float2 | b ) |
Definition at line 61 of file math_float2.h.
References b, and make_float2().
| ccl_device_inline float2 operator+= | ( | float2 & | a, |
| const float2 | b ) |
Definition at line 81 of file math_float2.h.
References b.
| ccl_device_inline float2 operator- | ( | const float2 & | a | ) |
Definition at line 25 of file math_float2.h.
References make_float2().
| ccl_device_inline float2 operator- | ( | const float2 | a, |
| const float | f ) |
Definition at line 76 of file math_float2.h.
References make_float2().
| ccl_device_inline float2 operator- | ( | const float2 | a, |
| const float2 | b ) |
Definition at line 71 of file math_float2.h.
References b, and make_float2().
| ccl_device_inline float2 operator/ | ( | const float2 | a, |
| const float2 | b ) |
Definition at line 56 of file math_float2.h.
References b, and make_float2().
| ccl_device_inline float2 operator/ | ( | const float2 | a, |
| float | f ) |
Definition at line 50 of file math_float2.h.
References make_float2().
| ccl_device_inline float2 operator/ | ( | float | f, |
| const float2 | a ) |
Definition at line 45 of file math_float2.h.
References make_float2().
| ccl_device_inline float2 operator/= | ( | float2 & | a, |
| const float2 | b ) |
Definition at line 96 of file math_float2.h.
References b.
| ccl_device_inline float2 operator/= | ( | float2 & | a, |
| float | f ) |
Definition at line 101 of file math_float2.h.
| ccl_device_inline bool operator== | ( | const float2 | a, |
| const float2 | b ) |
Definition at line 107 of file math_float2.h.
References b.
| ccl_device_inline float2 power | ( | float2 | v, |
| float | e ) |
Definition at line 243 of file math_float2.h.
References e, make_float2(), powf, and v.
Referenced by blender::eevee::BLI_STATIC_ASSERT(), bsdf_ashikhmin_velvet_sample(), color_balance_float(), color_balance_sop(), blender::compositor::colorbalance_cdl(), falloff_func(), lift_gamma_gain_to_asc_cdl(), make_cb_table_sop(), blender::math::pow(), blender::compositor::ColorBalanceASCCDLOperation::set_power(), svm_node_closure_bsdf(), blender::eevee::Light::sync(), and voronoi_distance().
| ccl_device_inline float reduce_add | ( | const float2 | a | ) |
Definition at line 157 of file math_float2.h.
Referenced by bssrdf_pdf(), film_clamp_light(), single_scattering(), volume_sample_channel(), and voronoi_distance().
| ccl_device_inline float reduce_max | ( | const float2 | a | ) |
Definition at line 152 of file math_float2.h.
References max.
Referenced by bake_offset_towards_center(), closure_layering_weight(), Shader::estimate_emission(), PrincipledBsdfNode::has_surface_emission(), light_sample_terminate(), OVERLAY_lightprobe_cache_populate(), path_state_continuation_probability(), ray_aabb_intersect(), and voronoi_distance().
| ccl_device_inline float reduce_min | ( | const float2 | a | ) |
Definition at line 147 of file math_float2.h.
References min.
Referenced by area_light_rect_sample(), Object::compute_volume_step_size(), and ray_aabb_intersect().
| ccl_device_inline float2 safe_divide_float2_float | ( | const float2 | a, |
| const float | b ) |
Definition at line 248 of file math_float2.h.
References b, and zero_float2().
| ccl_device_inline float2 safe_normalize | ( | const float2 | a | ) |
Definition at line 167 of file math_float2.h.
References len.
Referenced by bsdf_hair_chiang_albedo(), bsdf_hair_chiang_eval(), bsdf_hair_chiang_sample(), compute_emitter_centroid_and_dir(), LightManager::device_update_lights(), direction_to_fisheye(), direction_to_fisheye_equisolid(), direction_to_fisheye_lens_polynomial(), LightTreeEmitter::LightTreeEmitter(), make_orthonormals_safe_tangent(), merge(), motion_triangle_smooth_normal(), Mesh::SubdFace::normal(), object_inverse_normal_transform(), Mesh::pack_normals(), spot_light_to_local(), svm_mapping(), svm_node_closure_bsdf(), svm_node_normal_map(), svm_node_set_bump(), svm_node_tex_environment(), svm_node_vector_displacement(), svm_vector_math(), triangle_light_pdf(), triangle_light_sample(), and triangle_smooth_normal().
| CCL_NAMESPACE_BEGIN ccl_device_inline float2 zero_float2 | ( | ) |
Definition at line 14 of file math_float2.h.
References make_float2().
Referenced by Mesh::add_vertex(), Mesh::add_vertex_slow(), area_light_mnee_sample_update(), area_light_sample_from_intersection(), background_portal_pdf(), bsdf_roughness_eta(), bsdf_sample(), direction_to_equirectangular_range(), fresnel_dielectric_polarized(), NODE_DEFINE(), ObtainCacheParticleUV(), safe_divide_float2_float(), sample_uniform_disk(), svm_node_tex_voronoi(), and Camera::world_to_raster_size().