|
Blender V5.3
|
#include "gpu_shader_compat.hh"Go to the source code of this file.
Functions | |
Matrix Operations | |
| float2x2 | invert (float2x2 mat) |
| float3x3 | invert (float3x3 mat) |
| float4x4 | invert (float4x4 mat) |
| float2x2 | invert (float2x2 mat, bool &r_success) |
| float3x3 | invert (float3x3 mat, bool &r_success) |
| float4x4 | invert (float4x4 mat, bool &r_success) |
| float4x4 | translate (float4x4 mat, float3 translation) |
| float4x4 | translate (float4x4 mat, float2 translation) |
| float3x3 | scale (float3x3 mat, float2 scale) |
| float3x3 | scale (float3x3 mat, float3 scale) |
| float4x4 | scale (float4x4 mat, float2 scale) |
| float4x4 | scale (float4x4 mat, float3 scale) |
Flip the matrix across its diagonal. Also flips dimensions for non square matrices. Returns the determinant of the matrix. It can be interpreted as the signed volume (or area) of the unit cube after transformation. Returns the inverse of a square matrix or zero matrix on failure. r_success is optional and set to true if the matrix was inverted successfully.
Definition at line 28 of file gpu_shader_math_matrix.bsl.hh.
References inverse, and invert().
Referenced by blender::apply_keyb_grid(), blender::armature_hide_exec(), blender::BKE_defvert_array_find_weight_safe(), blender::BKE_mesh_orco_verts_transform(), blender::BKE_mesh_orco_verts_transform(), blender::ed::sculpt_paint::brush_flip(), blender::brush_painter_2d_new(), blender::brush_painter_2d_require_imbuf(), blender::calculate_weld(), blender::ed::sculpt_paint::mask::color_delta_get(), blender::ed::greasepencil::create_connected_edges_from_fill(), eevee::light::Resources::cubeface_sync(), blender::ed::greasepencil::delaunay_fill_strokes(), blender::ed::sculpt_paint::dyntopo::dyntopo_detail_size_update_from_mouse_delta(), workbench::shadow::GeometryShaderEmulator::emit_cap(), workbench::shadow::GeometryShaderEmulator::extrude_edge(), blender::ed::sculpt_paint::mask::final_mask_get(), blender::io::usd::USDMaterialReader::follow_connection(), blender::draw::foreach_obref_in_scene(), workbench::shadow::GeometryShaderEmulator::geometry_main_caps(), blender::nodes::node_shader_vector_rotate_cc::get_multi_function(), blender::GPU_front_facing(), gpu_math_test_main(), blender::nodes::node_shader_bump_cc::gpu_shader_bump(), blender::nodes::node_shader_vector_rotate_cc::gpu_shader_vector_rotate(), blender::ed::sculpt_paint::grease_pencil_fill_init(), blender::draw::gpencil::grease_pencil_layer_cache_add(), blender::ed::greasepencil::grease_pencil_material_hide_exec(), blender::hide_exec(), blender::hide_metaelems_exec(), blender::ui::icon_draw_size(), invert(), invert(), invert(), invert(), invert(), invert(), invert(), invert(), blender::nodes::node_geo_tool_set_selection_cc::invert_selection(), blender::ed::sculpt_paint::image::mask_brush_blend_settings(), blender::ed::sculpt_paint::mask::mask_by_color(), blender::ed::sculpt_paint::mask::mask_by_color_contiguous_mesh(), blender::ed::sculpt_paint::mask::mask_by_color_full_mesh(), node_bump(), NODE_DEFINE(), NODE_DEFINE(), node_vector_rotate_axis_angle(), node_vector_rotate_axis_x(), node_vector_rotate_axis_y(), node_vector_rotate_axis_z(), node_vector_rotate_euler_xyz(), blender::bke::brush::normal_weight_get(), blender::ed::sculpt_paint::greasepencil::PinchOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::StrengthOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::ThicknessOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::TwistOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::VertexPaintOperation::on_stroke_extended(), blender::paint_brush_color_get(), blender::ed::sculpt_paint::paint_stroke_use_jitter(), blender::ed::sculpt_paint::image::PaintBlendSettings::PaintBlendSettings(), blender::ed::greasepencil::pixel_fill_strokes(), blender::ed::greasepencil::process_image(), blender::pygpu_state_front_facing_set(), blender::eevee::IrradianceBake::raylists_build(), blender::nodes::materialx::NodeItem::rotate(), blender::selected_indices_from_vertex_group(), blender::selection_array_from_vertex_group(), blender::eevee::PlanarProbe::set_view(), blender::nodes::node_shader_vector_rotate_cc::sh_node_vector_rotate_euler(), blender::ed::sculpt_paint::slice_paint_mask(), blender::eevee::IrradianceBake::surfel_raster_views_sync(), blender::eevee::IrradianceBake::surfels_create(), svm_node_invert(), blender::tests::TEST(), blender::uv_pin_exec(), blender::uv_sculpt_stroke_apply(), blender::write_weights_for_drawing(), blender::nodes::node_geo_xpbd_solver_cc::XpbdSolverStep::XpbdSolverStep(), and blender::nodes::materialx::NodeItem::~NodeItem().
Returns the inverse of a square matrix or zero matrix on failure. r_success is optional and set to true if the matrix was inverted successfully.
Definition at line 53 of file gpu_shader_math_matrix.bsl.hh.
References determinant(), inverse, and invert().
Returns the inverse of a square matrix or zero matrix on failure. r_success is optional and set to true if the matrix was inverted successfully.
Definition at line 36 of file gpu_shader_math_matrix.bsl.hh.
Returns the inverse of a square matrix or zero matrix on failure. r_success is optional and set to true if the matrix was inverted successfully.
Definition at line 62 of file gpu_shader_math_matrix.bsl.hh.
References determinant(), inverse, and invert().
Returns the inverse of a square matrix or zero matrix on failure. r_success is optional and set to true if the matrix was inverted successfully.
Definition at line 44 of file gpu_shader_math_matrix.bsl.hh.
Returns the inverse of a square matrix or zero matrix on failure. r_success is optional and set to true if the matrix was inverted successfully.
Definition at line 71 of file gpu_shader_math_matrix.bsl.hh.
References determinant(), inverse, and invert().
Equivalent to mat * from_scale(scale) but with fewer operation.
Definition at line 100 of file gpu_shader_math_matrix.bsl.hh.
References scale().
Referenced by blender::ABC_create_handle(), blender::ABC_get_transform(), blender::nodes::node_composite_glare_cc::GlareOperation::accumulate_ghosts_cpu(), blender::action_flip_pchan(), blender::ed::greasepencil::add_armature_envelope_weights(), blender::add_primitive_cone_exec(), blender::add_primitive_cube_exec(), blender::add_primitive_cylinder_exec(), blender::add_primitive_icosphere_exec(), blender::add_primitive_quadsphere_exec(), blender::add_primitive_uvsphere_exec(), blender::io::usd::add_scale_bias(), btDeformableNeoHookeanForce::addScaledCofactorMatrixDifferential(), btDeformableCorotatedForce::addScaledDampingForce(), btDeformableGravityForce::addScaledDampingForce(), btDeformableLagrangianForce::addScaledDampingForce(), btDeformableLinearElasticityForce::addScaledDampingForce(), btDeformableMassSpringForce::addScaledDampingForce(), btDeformableMousePickingForce::addScaledDampingForce(), btDeformableNeoHookeanForce::addScaledDampingForce(), btDeformableCorotatedForce::addScaledDampingForceDifferential(), btDeformableGravityForce::addScaledDampingForceDifferential(), btDeformableLagrangianForce::addScaledDampingForceDifferential(), btDeformableLinearElasticityForce::addScaledDampingForceDifferential(), btDeformableMassSpringForce::addScaledDampingForceDifferential(), btDeformableMousePickingForce::addScaledDampingForceDifferential(), btDeformableNeoHookeanForce::addScaledDampingForceDifferential(), btDeformableCorotatedForce::addScaledElasticForce(), btDeformableLinearElasticityForce::addScaledElasticForce(), btDeformableMassSpringForce::addScaledElasticForce(), btDeformableMousePickingForce::addScaledElasticForce(), btDeformableNeoHookeanForce::addScaledElasticForce(), btDeformableCorotatedForce::addScaledElasticForceDifferential(), btDeformableGravityForce::addScaledElasticForceDifferential(), btDeformableLagrangianForce::addScaledElasticForceDifferential(), btDeformableLinearElasticityForce::addScaledElasticForceDifferential(), btDeformableMassSpringForce::addScaledElasticForceDifferential(), btDeformableMousePickingForce::addScaledElasticForceDifferential(), btDeformableNeoHookeanForce::addScaledElasticForceDifferential(), btDeformableCorotatedForce::addScaledExplicitForce(), btDeformableGravityForce::addScaledExplicitForce(), btDeformableLagrangianForce::addScaledExplicitForce(), btDeformableLinearElasticityForce::addScaledExplicitForce(), btDeformableMassSpringForce::addScaledExplicitForce(), btDeformableMousePickingForce::addScaledExplicitForce(), btDeformableNeoHookeanForce::addScaledExplicitForce(), btDeformableCorotatedForce::addScaledForces(), btDeformableGravityForce::addScaledForces(), btDeformableLagrangianForce::addScaledForces(), btDeformableLinearElasticityForce::addScaledForces(), btDeformableMassSpringForce::addScaledForces(), btDeformableMousePickingForce::addScaledForces(), btDeformableNeoHookeanForce::addScaledForces(), btDeformableGravityForce::addScaledGravityForce(), btDeformableLagrangianForce::addScaledHessian(), btDeformableLinearElasticityForce::addScaledHessian(), blender::ed::curves::append_primitive_curve(), blender::ed::object::apply_objects_internal(), ObjectManager::apply_static_transforms(), blender::apply_stroke_transform(), blender::ed::transform::apply_targetless_ik(), blender::armature_transform_recurse(), blender::arrayModifier_doArray(), blender::arrow_draw_geom(), blender::average_track_contributions(), blender::draw::overlay::Cursor::begin_sync(), blender::ed::transform::Bend(), blender::bezt_remap_times(), blender::BKE_armature_transform(), blender::BKE_brush_scale_size(), blender::BKE_brush_scale_unprojected_size(), blender::BKE_camera_view_frame_ex(), blender::BKE_camera_view_frame_ex(), blender::BKE_icon_geom_rasterize(), blender::BKE_image_preview(), blender::BKE_light_area(), blender::BKE_mball_minmax_ex(), blender::BKE_mball_transform(), blender::BKE_object_dimensions_set_ex(), blender::BKE_object_protected_scale_set(), blender::BKE_object_tfm_copy(), blender::BKE_object_tfm_protected_backup(), blender::BKE_ocean_is_valid(), blender::BKE_pchan_bbone_spline_params_get(), blender::BKE_pchan_protected_scale_set(), blender::BKE_tracking_disable_channels(), blender::BKE_tracking_plane_track_has_enabled_marker_at_frame(), blender::BKE_tracking_reconstruction_scale(), blender::BKE_tracking_stabilization_data_get(), blender::BKE_tracking_stabilization_data_to_mat4(), blender::BKE_tracking_stabilize_frame(), blender::BLF_character_to_curves(), blender::blf_character_to_curves(), blender::blf_font_boundbox_foreach_glyph(), blender::BLF_get_vfont_metrics(), blender::blf_glyph_cache_add_glyph(), blender::blf_glyph_cache_add_svg(), blender::blf_glyph_to_curves(), blender::blf_glyph_transform_monospace(), blender::blf_glyph_transform_width(), blender::BLI_rctf_scale(), blender::BLI_rcti_do_minmax_rcti(), blender::BLI_rcti_scale(), blender::bmo_mirror_exec(), blender::bmo_symmetrize_exec(), blender::boundbox_to_dimensions(), blender::bpyunits_to_value(), bsdf_lut(), bsdf_widen_dD(), blender::io::hydra::build_hair_data(), blender::geometry::PackIsland::build_inverse_transformation(), blender::bke::build_point_matrix_miter_scale(), blender::geometry::PackIsland::build_transformation(), btDeformableCorotatedForce::buildDampingForceDifferentialDiagonal(), btDeformableGravityForce::buildDampingForceDifferentialDiagonal(), btDeformableLagrangianForce::buildDampingForceDifferentialDiagonal(), btDeformableLinearElasticityForce::buildDampingForceDifferentialDiagonal(), btDeformableMassSpringForce::buildDampingForceDifferentialDiagonal(), btDeformableMousePickingForce::buildDampingForceDifferentialDiagonal(), btDeformableNeoHookeanForce::buildDampingForceDifferentialDiagonal(), blender::ui::button_drag_attach_image(), blender::ui::button_drag_set_image(), blender::ui::button_icon_scale_set(), blender::C_Matrix_LocRotScale(), blender::ed::sculpt_paint::calc_brush_local_mat(), blender::ed::sculpt_paint::brushes::clay_strips::calc_local_matrix(), calc_node_transforms(), blender::ed::sculpt_paint::pose::calc_scale_deform(), blender::ed::sculpt_paint::pose::calc_squash_stretch_deform(), blender::seq::calc_strip_transform_matrix(), blender::calculate_autoscale_factor(), blender::nodes::node_fn_combine_transform_cc::CombineTransformFunction::call(), blender::nodes::node_fn_separate_transform_cc::SeparateTransformFunction::call(), blender::nodes::node_shader_tex_brick_cc::BrickFunction::call(), blender::nodes::node_shader_tex_checker_cc::NodeTexChecker::call(), blender::nodes::node_shader_tex_gabor_cc::GaborNoiseFunction::call(), blender::nodes::node_shader_tex_magic_cc::MagicFunction::call(), blender::nodes::node_shader_tex_noise_cc::NoiseFunction::call(), blender::nodes::node_shader_tex_voronoi_cc::VoronoiDistToEdgeFunction::call(), blender::nodes::node_shader_tex_voronoi_cc::VoronoiMetricFunction::call(), blender::nodes::node_shader_tex_voronoi_cc::VoronoiNSphereFunction::call(), blender::nodes::node_shader_tex_wave_cc::WaveFunction::call(), blender::meshintersect::cdt_draw(), CGSGetCursorScale(), blender::ed::transform::clip_uv_transform_resize(), blender::ed::object::collection_drop_exec(), blender::colorfn(), combine_transform(), blender::compensate_rotation_center(), blender::nodes::node_composite_defocus_cc::DefocusOperation::compute_defocus_radius_from_scale_cpu(), blender::nodes::node_composite_defocus_cc::DefocusOperation::compute_defocus_radius_from_scale_gpu(), blender::nodes::node_composite_color_spill_cc::compute_spill_scale(), blender::nodes::node_composite_movie_clip_cc::MovieClipOperation::compute_stabilization_data(), slim::compute_transformation_matrix2_pins(), btDeformableBodySolver::computeDescentStep(), blender::io::usd::configure_displacement(), DisplacementNode::constant_fold(), MappingNode::constant_fold(), VectorDisplacementNode::constant_fold(), VectorMathNode::constant_fold(), blender::ed::transform::constrain_scale_to_boundary(), blender::io::ply::convert_gsplat_ply_to_point_cloud(), blender::convert_pose(), blender::io::usd::USDMaterialReader::convert_usd_transform_2d(), blender::convertLuminance_RGBA(), blender::ed::object::copy_transformed_radii(), blender::correctivesmooth_modifier_do(), blender::ed::greasepencil::create_curves_outline(), blender::io::usd::create_input(), PointCloud::create_missing_gsplat_attributes(), blender::create_primitive_from_points(), blender::ed::greasepencil::image_render::create_shader_ubo(), blender::nodes::node_geo_scale_elements_cc::create_single_axis_transform(), blender::io::usd::create_transform2d_shader(), HullLibrary::CreateConvexHull(), blender::ed::sculpt_paint::cube_tip_init(), eevee::light::culling_z_to_zbin(), blender::cursor_bitmap_from_svg(), cursor_buffer_set_surface_impl(), GHOST_SystemWayland::cursor_shape_custom_set(), blender::ui::curvemap_zoom(), blender::curvesurf_prim_add(), blender::io::gsplat::OriginalActivationFunctions::decode_scale(), blender::deform_matrices(), blender::deform_matrices_EM(), blender::dist_squared_to_projected_aabb(), blender::ed::sculpt_paint::brushes::do_clay_thumb_brush(), blender::ed::sculpt_paint::brushes::do_inflate_brush(), blender::ed::sculpt_paint::brushes::do_plane_brush(), blender::do_set_scale(), blender::io::alembic::ABCTransformWriter::do_write(), blender::io::usd::USDTransformWriter::do_write(), dof_bilateral_coc_weights(), blender::draw_bone_degrees_of_freedom(), blender::ed::greasepencil::image_render::draw_circles(), blender::draw_cross(), blender::ed::greasepencil::image_render::draw_dots(), blender::draw_fcurve_samples(), blender::draw::drw_volume_object_mesh_init(), dualcon(), blender::ED_armature_edit_transform(), blender::ED_space_clip_get_stable_buffer(), blender::ED_uvedit_nearest_uv_multi(), blender::ED_view3d_camera_view_zoom_scale(), blender::edbm_bevel_init(), blender::edbm_inset_init(), blender::draw::GSplatEvalCache::ensure_builtin_buffers(), blender::envelope_bone_weighting(), Shader::estimate_emission(), blender::nodes::node_composite_image_info_cc::ImageInfoOperation::execute(), blender::nodes::node_composite_normalize_cc::NormalizeOperation::execute(), blender::nodes::node_composite_stabilize_2d_cc::Stabilize2DOperation::execute(), blender::nodes::node_composite_transform_cc::TransformOperation::execute(), blender::nodes::node_geo_object_info_cc::ObjectInfoOperation::execute(), blender::nodes::node_composite_scale_cc::ScaleOperation::execute_constant_size(), blender::nodes::node_composite_normalize_cc::NormalizeOperation::execute_cpu(), blender::nodes::node_composite_normalize_cc::NormalizeOperation::execute_gpu(), blender::nodes::node_composite_lens_distortion_cc::LensDistortionOperation::execute_radial_distortion_cpu(), blender::execute_scene(), blender::nodes::node_composite_scale_cc::ScaleOperation::execute_variable_size_cpu(), blender::fcm_noise_evaluate(), blender::file_add_preview_drag_but(), blender::file_but_enable_drag(), blender::file_draw_preview(), blender::file_draw_special_image(), blender::file_draw_tooltip_custom_func(), film_calculate_shadow_catcher(), film_calculate_shadow_catcher_denoised(), film_calculate_shadow_catcher_matte_with_shadow(), film_get_pass_pixel_combined(), film_get_pass_pixel_cryptomatte(), film_get_pass_pixel_float3(), film_get_pass_pixel_float4(), film_get_pass_pixel_light_path(), film_get_scale_and_scale_exposure(), film_get_scale_exposure(), blender::geometry::find_best_fit_for_island(), blender::bke::tests::find_flip_boundary(), blender::find_nearest_points_test(), blender::fix_geometry_nodes_object_info_scale(), blender::noise::fractal_voronoi_distance_to_edge(), fractal_voronoi_distance_to_edge(), fractal_voronoi_distance_to_edge(), blender::noise::fractal_voronoi_x_fx(), fractal_voronoi_x_fx(), fractal_voronoi_x_fx(), fractal_voronoi_x_fx(), fractal_voronoi_x_fx(), fractal_voronoi_x_fx(), from_loc_rot_scale(), from_loc_rot_scale(), from_loc_rot_scale(), from_rot_scale(), from_rot_scale(), from_rot_scale(), from_scale(), from_scale(), from_scale(), blender::noise::gabor(), blender::noise::gabor(), blender::io::obj::geometry_to_blender_objects(), draw::gsplat::get_covmat(), blender::geometry::PackIsland::get_diagonal_support(), blender::geometry::PackIsland::get_diagonal_support_d4(), blender::get_dupliface_transform_from_coords(), blender::imbuf::get_oiio_ibuf(), draw::gsplat::get_planar_normal(), draw::gsplat::get_rot_scale_mat(), blender::nodes::node_composite_scale_cc::ScaleOperation::get_scale_render_size_crop(), blender::nodes::node_composite_scale_cc::ScaleOperation::get_scale_render_size_fit(), blender::seq::get_strip_screen_quad(), GHOST_SystemCocoa::getCursorPreferredLogicalSize(), GHOST_WindowSDL::getDPIHint(), libmv::GetR_FixedCameraCenter(), CBlendThumb::GetThumbnail(), blender::ghost_event_proc_timestamp_warning(), ghost_wl_buffer_from_cursor_generator(), blender::gizmo_axis_draw(), blender::gizmo_cage2d_modal(), blender::gizmo_cage3d_modal(), blender::gizmo_calc_rect_view_scale(), blender::gizmo_calc_rect_view_scale(), blender::gizmo_find_intersected_3d_intern(), blender::nodes::gizmos::gizmo_input_dims_from_log(), blender::ed::transform::gizmo_modal(), blender::nodes::gizmos::gizmo_node_scale_prop_matrix_get(), blender::nodes::gizmos::gizmo_node_transform_prop_matrix_get(), blender::nodes::gizmos::gizmo_node_transform_prop_matrix_set(), blender::ed::transform::gizmo_refresh_from_matrix(), blender::ed::transform::gizmogroup_refresh_from_matrix(), blender::draw::gpencil::gpencil_uv_transform_get(), gpu_math_test_main(), blender::meshintersect::graph_draw(), blender::graphkeys_click_insert_exec(), blender::ed::greasepencil::grease_pencil_primitive_scale_all_update(), blender::geometry::guess_initial_scale(), gwl_seat_cursor_buffer_scale_calc(), gwl_seat_cursor_buffer_set(), gwl_seat_cursor_buffer_show(), blender::hair_grid_interp_weights(), blender::hair_grid_interpolate(), blender::hair_grid_offset(), blender::hair_grid_weights(), blender::hex_to_rgba(), blender::ibJpegImageFromCinfo(), blender::ui::icon_draw_ex(), blender::ui::icon_draw_size(), blender::IMB_font_preview(), blender::imb_load_filepath_thumbnail_svg(), blender::imb_load_filepath_thumbnail_webp(), blender::immUniformColor3ub(), blender::immUniformColor4ub(), blender::init_jpeg(), blender::init_scene(), MyInternalTriangleIndexCallback::internalProcessTriangleIndex(), interpolate_fast(), blender::ui::item_scale(), jacobi_svd_3x3(), kernel_volume_density_evaluate(), light_tree_to_local_space(), blender::make_duplis_particle_system(), blender::make_prim_init(), mapping_normal(), mapping_point(), mapping_texture(), mapping_vector(), blender::mat4_to_dquat(), blender::median_dims_scale_matrix_calc(), blender::bke::mesh_init_origspace(), eevee::lightprobe::sphere::miplvl_scale_bias(), blender::bke::attribute_math::mix3(), blender::bke::attribute_math::mix4(), blender::bke::attribute_math::float4x4Mixer::mix_in(), blender::bke::attribute_math::mix_indices(), blender::bke::attribute_math::mix_indices(), blender::modify_mesh(), blender::multires_apply_smat(), blender::multires_apply_uniform_scale(), blender::ed::object::new_primitive_matrix(), blender::nlastrip_get_frame_actionclip(), 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_displacement_object(), node_displacement_world(), blender::ed::space_node::node_draw_collapsed(), blender::ed::space_node::node_draw_preview(), blender::ed::space_node::node_draw_zones_and_frames(), blender::nodes::node_fn_combine_transform_cc::node_eval_inverse(), blender::nodes::node_fn_separate_transform_cc::node_eval_inverse(), blender::nodes::node_geo_bounding_box_cc::node_geo_exec(), blender::nodes::node_geo_object_info_cc::node_geo_exec(), blender::nodes::node_geo_transform_geometry_cc::node_geo_exec(), blender::nodes::gizmos::node_gizmo_transformed_offset(), node_noise_tex_fbm_1d(), node_noise_tex_fbm_2d(), node_noise_tex_fbm_3d(), node_noise_tex_fbm_4d(), node_noise_tex_hetero_terrain_1d(), node_noise_tex_hetero_terrain_2d(), node_noise_tex_hetero_terrain_3d(), node_noise_tex_hetero_terrain_4d(), node_noise_tex_hybrid_multi_fractal_1d(), node_noise_tex_hybrid_multi_fractal_2d(), node_noise_tex_hybrid_multi_fractal_3d(), node_noise_tex_hybrid_multi_fractal_4d(), node_noise_tex_multi_fractal_1d(), node_noise_tex_multi_fractal_2d(), node_noise_tex_multi_fractal_3d(), node_noise_tex_multi_fractal_4d(), node_noise_tex_ridged_multi_fractal_1d(), node_noise_tex_ridged_multi_fractal_2d(), node_noise_tex_ridged_multi_fractal_3d(), node_noise_tex_ridged_multi_fractal_4d(), blender::nodes::gizmos::node_scale_gizmo_scale_set(), blender::ed::space_node::node_socket_draw(), node_subsurface_scattering(), node_tex_brick(), node_tex_checker(), node_tex_gabor(), node_tex_magic(), node_tex_voronoi_distance_to_edge_1d(), node_tex_voronoi_distance_to_edge_2d(), node_tex_voronoi_distance_to_edge_3d(), node_tex_voronoi_distance_to_edge_4d(), node_tex_voronoi_f1_1d(), node_tex_voronoi_f1_2d(), node_tex_voronoi_f1_3d(), node_tex_voronoi_f1_4d(), node_tex_voronoi_f2_1d(), node_tex_voronoi_f2_2d(), node_tex_voronoi_f2_3d(), node_tex_voronoi_f2_4d(), node_tex_voronoi_n_sphere_radius_1d(), node_tex_voronoi_n_sphere_radius_2d(), node_tex_voronoi_n_sphere_radius_3d(), node_tex_voronoi_n_sphere_radius_4d(), node_tex_voronoi_smooth_f1_1d(), node_tex_voronoi_smooth_f1_2d(), node_tex_voronoi_smooth_f1_3d(), node_tex_voronoi_smooth_f1_4d(), node_tex_wave(), node_vector_displacement_object(), node_vector_displacement_tangent(), node_vector_displacement_world(), blender::ed::space_node::nodelink_get_draw_config(), blender::normalize_dq(), btVectorX< float >::nrm2(), blender::io::otio::number_parameters(), blender::object_copy_particle_system(), blender::ed::object::object_grease_pencil_add_exec(), blender::draw::overlay::Bounds::object_sync(), blender::ed::object::object_transform_axis_target_modal(), blender::ed::transform::ObjectToTransData(), GHOST_DirectManipulationViewportEventHandler::OnContentUpdated(), Freestyle::VecMat::operator*(), Freestyle::VecMat::operator*(), blender::orient_mat_z_normalized(), blender::geometry::p_chart_abf_solve(), blender::geometry::p_chart_lscm_transform_single_pin(), blender::geometry::p_chart_uv_scale(), blender::geometry::pack_gobel(), blender::geometry::pack_island_xatlas(), blender::geometry::pack_islands(), blender::geometry::pack_islands_margin_fraction(), blender::geometry::pack_islands_scale_margin(), blender::paint_calc_object_space_radius(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), blender::pingpongf(), blender::eevee::Film::pixel_jitter_get(), blender::ed::greasepencil::pixel_radius_to_world_space_radius(), blender::geometry::PackIsland::place_(), filters::planar_weight(), blender::playanim_window_font_scale_from_dpi(), blender::points_to_bezier(), blender::pose_rest(), blender::ed::transform::pose_transform_mirror_update(), blender::preview_image_scaled_dimensions_get(), blender::io::usd::process_inputs(), blender::io::usd::process_usdz_textures(), blender::ed::sculpt_paint::project_brush_radius_grease_pencil(), projection_perspective(), blender::ed::transform::protectedScaleBits(), blender::psys_get_dupli_path_transform(), blender::pygpu_matrix_scale(), blender::nodes::node_composite_lens_distortion_cc::radial_lens_distortion(), eevee::lut::random_walk_sss_translucency(), btCollisionWorld::rayTestSingleInternal(), RB_body_get_activation_state(), RB_body_set_scale(), blender::io::usd::USDParticleFieldReader::read_geometry(), blender::io::alembic::AbcObjectReader::read_matrix(), blender::io::usd::USDXformReader::read_matrix(), blender::io::usd::USDCameraReader::read_object_data(), blender::io::spz::read_positions(), blender::io::spz::read_scales(), blender::io::alembic::AbcObjectReader::readObjectData(), blender::rescale_m4(), blender::rng_v3_round(), blender::geometry::rotate_inside_square(), eevee::lightprobe::sphere::roughness_to_mix_fac(), blender::io::obj::round_float_to_n_digits(), IK_QCenterOfMassTask::Scale(), IK_QPositionTask::Scale(), IK_QSegment::Scale(), IK_QTranslateSegment::Scale(), scale(), scale(), scale(), scale(), blender::Bounds< T >::scale_from_center(), blender::geometry::scale_input_assign(), blender::scale_m3_fl(), blender::scale_m4_fl(), blender::ui::Layout::scale_x_set(), blender::ui::Layout::scale_y_set(), IK_QSegment::ScaleWeight(), blender::screen_draw_area_drag_tip(), GHOST_NDOFManager::sendMotionEvent(), separate_transform(), blender::ed::animrig::set_keys_to_transform(), blender::ed::object::set_local_object_transform(), blender::io::usd::set_scale_bias(), blender::io::usd::USDTransformWriter::set_xform_ops(), btDeformableContactConstraint::setPenetrationScale(), btDeformableFaceNodeContactConstraint::setPenetrationScale(), btDeformableNodeAnchorConstraint::setPenetrationScale(), btDeformableRigidContactConstraint::setPenetrationScale(), btDeformableStaticConstraint::setPenetrationScale(), GHOST_WindowCocoa::setWindowCustomCursorShape(), eevee::shadow_texel_radius_at_position(), blender::draw::overlay::ShapeCache::ShapeCache(), blender::SIM_hair_volume_create_vertex_grid(), blender::simpleDeform_stretch(), blender::simpleDeform_taper(), blender::slide_marker_modal(), blender::compositor::SMAASearchLength(), IK_QJacobianSolver::Solve(), blender::ed::sculpt_paint::pose::solve_scale_chain(), btDeformableBodySolver::solveDeformableConstraints(), blender::splineik_evaluate_bone(), blender::springs_from_mesh(), blender::stabilization_data_to_mat4(), blender::draw::statvis_calc_thickness(), blender::stretchto_evaluate(), blender::eevee::IrradianceBake::surfel_raster_views_sync(), KDL::svd_eigen_HH(), blender::svd_m4(), svm_magic(), svm_mapping(), svm_node_closure_bsdf(), svm_node_displacement(), svm_node_mapping(), svm_node_set_bump(), svm_node_tex_brick(), svm_node_tex_checker(), svm_node_tex_gabor(), svm_node_tex_magic(), svm_node_tex_noise(), svm_node_tex_wave(), svm_node_vector_displacement(), blender::compositor::SymmetricBlurWeights::SymmetricBlurWeights(), blender::compositor::SymmetricSeparableBlurWeights::SymmetricSeparableBlurWeights(), blender::eevee::Light::sync(), blender::ui::template_common_search_menu(), blender::ui::template_greasepencil_color_preview(), blender::ui::template_id(), blender::ui::template_recent_files_tooltip_func(), blender::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), TEST(), blender::io::otio::TEST_F(), blender::io::ply::TEST_F(), blender::tests::TEST_F(), blender::textbox_scale(), blender::thumb_create_ex(), blender::ui::tooltip_from_clip(), blender::geometry::Occupancy::trace_island(), blender::tracking_scale_reconstruction(), transform_decompose(), blender::geometry::transform_mesh(), transform_motion_decompose(), transform_uniform_scale(), blender::nodes::node_geo_scale_elements_cc::transform_with_uniform_scale(), Freestyle::GeomUtils::transformVertex(), update_cursor_scale(), PointCloud::update_gsplat_radii(), blender::ed::view3d::geometry_nodes_gizmos::TransformGizmos::update_scale_transform_and_target_property(), btDeformableBodySolver::updateDv(), btDeformableBodySolver::updateEnergy(), eevee::ltc::detail::upper_parabole(), blender::io::usd::USD_get_transform(), blender::nodes::node_geo_transform_geometry_cc::use_translate(), blender::geometry::uv_parametrizer_original_bounds(), blender::geometry::uv_parametrizer_pack(), blender::uvedit_nearest_uv(), blender::uvedit_pack_islands_multi(), blender::geometry::UVMinimumEnclosingSquareFinder::UVMinimumEnclosingSquareFinder(), blender::v3d_cursor_plane_draw_grid(), blender::value_dissolve(), blender::vcloud_estimate_transform_v3(), vector_math_refract(), vector_math_scale(), builtin::keyframe::vert_main(), blender::view3d_camera_to_view_selected_impl(), blender::view3d_interactive_add_modal(), blender::view3d_ob_drop_matrix_from_snap(), blender::ed::object::voxel_size_edit_invoke(), blender::where_is_ik_bone(), blender::ui::widget_draw_node_link_socket(), blender::wm_drag_draw_icon(), blender::WM_event_drag_image(), wm_ghost_icon_generate(), blender::wm_gizmo_calculate_scale(), blender::WM_gizmo_set_scale(), blender::wm_software_cursor_draw_bitmap(), blender::wm_xr_controller_aim_draw(), blender::wm_xr_controller_model_draw(), blender::wm_xr_grab_compute_bimanual(), blender::wm_xr_pose_scale_to_imat(), blender::wm_xr_pose_scale_to_mat(), blender::WM_xr_session_state_nav_scale_set(), blender::write_fill_transforms(), blender::write_stroke_transforms(), and xml_read_transform().
Equivalent to mat * from_scale(scale) but with fewer operation.
Definition at line 109 of file gpu_shader_math_matrix.bsl.hh.
References scale().
Equivalent to mat * from_scale(scale) but with fewer operation.
Definition at line 119 of file gpu_shader_math_matrix.bsl.hh.
References scale().
Equivalent to mat * from_scale(scale) but with fewer operation.
Definition at line 128 of file gpu_shader_math_matrix.bsl.hh.
References scale().
Equivalent to mat * from_location(translation) but with fewer operation.
Definition at line 90 of file gpu_shader_math_matrix.bsl.hh.
References translate().
Equivalent to mat * from_location(translation) but with fewer operation.
Definition at line 80 of file gpu_shader_math_matrix.bsl.hh.
References translate().
Referenced by blender::create_array_copies(), CreateSegment(), blender::get_effector_data(), blender::ed::transform::gizmogroup_init_properties_from_twtype(), gpu_math_test_main(), blender::bke::mesh_init_origspace(), blender::RNA_translate_ui_text(), blender::rna_translate_ui_text(), blender::tests::TEST(), translate(), translate(), and xml_read_transform().