|
Blender V5.0
|
#include <sky_math.h>
Public Member Functions | |
| float4 ()=default | |
| float4 (const float *ptr) | |
| float4 (const float(*ptr)[4]) | |
| float4 (float value) | |
| float4 (int value) | |
| float4 (float x, float y, float z, float w) | |
| operator const float * () const | |
| operator float * () | |
| float | length_squared () const |
| float | length () const |
| void | operator+= (const float4 &b) |
| void | operator*= (const float4 &b) |
Static Public Member Functions | |
| static float | distance (const float4 &a, const float4 &b) |
Public Attributes | |
| float | x |
| float | y |
| float | z |
| float | w |
Friends | |
| float4 | operator* (const float4 &a, float b) |
| float4 | operator* (float b, const float4 &a) |
| float4 | operator/ (const float4 &a, float b) |
| float4 | operator/ (float b, const float4 &a) |
| float4 | operator* (const float4 &a, const float4 &b) |
| float4 | operator/ (const float4 &a, const float4 &b) |
| float4 | operator- (const float4 &a, const float4 &b) |
| float4 | operator- (const float4 &a) |
| float4 | operator+ (const float4 &a, const float4 &b) |
Definition at line 224 of file sky_math.h.
|
default |
Referenced by distance(), float4(), operator*, operator*, operator*, operator*=(), operator+, operator+=(), operator-, operator-, operator/, operator/, and operator/.
|
inline |
|
inline |
Definition at line 231 of file sky_math.h.
|
inlineexplicit |
|
inlineexplicit |
Definition at line 299 of file sky_math.h.
|
inline |
Definition at line 294 of file sky_math.h.
References length_squared(), and sqrt.
Referenced by len().
|
inline |
Definition at line 289 of file sky_math.h.
Referenced by len_squared(), and length().
|
inline |
Definition at line 239 of file sky_math.h.
References x.
|
inline |
Definition at line 244 of file sky_math.h.
References x.
|
inline |
Definition at line 317 of file sky_math.h.
|
inline |
Definition at line 309 of file sky_math.h.
| float float4::w |
Definition at line 225 of file sky_math.h.
Referenced by __float4_as_int4(), SVMCompiler::add_node(), Hair::apply_transform(), PointCloud::apply_transform(), area_light_rect_sample(), attribute_data_fetch_bytecolor(), PointCloud::Point::bounds_grow(), BVH(), BVH(), BVH(), BVH(), bvh_aligned_node_intersect(), camera_direction_from_point(), camera_distance(), camera_position(), camera_z_depth(), cast(), central_cylindrical_to_direction(), color_float4_to_uchar4(), color_linear_to_srgb_v4(), color_srgb_to_linear_v4(), BVHUnaligned::compute_node_transform(), convert_camera_transform(), copy_matrix(), copy_matrix(), copy_v4_v4(), curve_point_as_float4(), CurveSegmentMotionCV(), cycles_precompute(), debug_color_pack(), direction_to_central_cylindrical(), direction_to_equirectangular_range(), dot(), ensure_finite(), equirectangular_range_to_direction(), euler_to_transform(), exp(), export_hair_curves_motion(), export_hair_motion_validate_attribute(), ExportCurveSegmentsMotion(), fabs(), film_get_pass_pixel_cryptomatte(), film_get_pass_pixel_motion(), film_get_pass_pixel_shadow_catcher_matte_with_shadow(), film_write_pass_float4(), float4(), float4(), float4(), float4(), float4_to_half4_display(), floor(), floorfrac(), fmod(), hash_float4_to_float(), hash_float4_to_float2(), hash_float4_to_float3(), hash_float4_to_float4(), is_zero(), length_squared(), make_int4(), make_projection(), make_transform(), make_vfloat8(), mat22_determinant(), mat22_inverse(), mat22_mult(), mat22_mult(), max(), max(), min(), object_location(), operator*, operator*, operator*, operator*(), operator*(), operator+, operator+(), operator-, operator-, operator-(), operator-(), operator/, operator/, operator/, operator/(), operator<(), operator<<(), operator<=(), operator==(), operator>=(), operator^(), print_float4(), projection_transpose(), reduce_add(), reduce_add(), reduce_max(), reduce_min(), rs_texture(), rs_texture3d(), safe_divide(), saturate(), select(), snoise_4d(), sqrt(), svm_image_texture(), svm_node_radial_tiling(), svm_node_rgb_ramp(), svm_node_tex_environment(), svm_node_tex_image(), svm_node_tex_image_box(), svm_node_vertex_color(), svm_node_vertex_color_bump_dx(), svm_node_vertex_color_bump_dy(), tabulated_sobol_generate_4D(), TEST_F(), transform_decompose(), transform_inverse_impl(), transform_motion_array_interpolate(), transform_motion_decompose(), and transform_to_quat().
| float float4::x |
Definition at line 225 of file sky_math.h.
Referenced by __float4_as_int4(), SVMCompiler::add_node(), area_light_rect_sample(), as_float2(), BVH(), BVH(), BVH(), BVH(), bvh_aligned_node_intersect(), bvh_node_intersect(), bvh_unaligned_node_intersect(), calculate_out_variables(), cast(), central_cylindrical_to_direction(), color_float4_to_uchar4(), color_linear_to_srgb_v4(), color_srgb_to_linear_v4(), copy_matrix(), copy_matrix(), copy_v4_v4(), cross(), debug_color_pack(), direction_to_central_cylindrical(), direction_to_equirectangular_range(), direction_to_fisheye_lens_polynomial(), dot(), ensure_finite(), equirectangular_range_to_direction(), euler_to_transform(), exp(), fabs(), film_get_pass_pixel_cryptomatte(), film_get_pass_pixel_motion(), film_get_pass_pixel_shadow_catcher_matte_with_shadow(), film_write_pass_float4(), float4(), float4(), float4(), float4(), float4_to_half4_display(), floor(), floorfrac(), fmod(), get_best_dimension(), get_float4(), hash_float4_to_float(), hash_float4_to_float2(), hash_float4_to_float3(), hash_float4_to_float4(), is_zero(), length_squared(), lookup_instance_property(), make_float3(), make_int4(), make_projection(), make_transform(), make_vfloat8(), mat22_determinant(), mat22_inverse(), mat22_mult(), mat22_mult(), max(), max(), min(), ObtainCacheParticleVcol(), operator const float *(), operator float *(), operator*, operator*, operator*, operator*(), operator*(), operator+, operator+(), operator-, operator-, operator-(), operator-(), operator/, operator/, operator/, operator/(), operator<(), operator<<(), operator<=(), operator==(), operator>=(), operator^(), print_float4(), projection_transpose(), reduce_add(), reduce_add(), reduce_max(), reduce_min(), rs_texture(), rs_texture3d(), safe_divide(), saturate(), select(), set_float4(), snoise_4d(), sqrt(), store_pixel(), svm_node_curves(), svm_node_radial_tiling(), svm_node_tex_environment(), svm_node_tex_image(), svm_node_tex_image_box(), tabulated_sobol_generate_4D(), TEST_F(), transform_direction(), transform_inverse_impl(), transform_point(), and transform_to_quat().
| float float4::y |
Definition at line 225 of file sky_math.h.
Referenced by __float4_as_int4(), SVMCompiler::add_node(), area_light_rect_sample(), as_float2(), BVH(), BVH(), BVH(), BVH(), bvh_aligned_node_intersect(), bvh_unaligned_node_intersect(), calculate_out_variables(), cast(), central_cylindrical_to_direction(), color_float4_to_uchar4(), color_linear_to_srgb_v4(), color_srgb_to_linear_v4(), copy_matrix(), copy_matrix(), copy_v4_v4(), cross(), debug_color_pack(), direction_to_central_cylindrical(), direction_to_equirectangular_range(), dot(), ensure_finite(), equirectangular_range_to_direction(), euler_to_transform(), exp(), fabs(), film_get_pass_pixel_cryptomatte(), film_get_pass_pixel_motion(), film_get_pass_pixel_shadow_catcher_matte_with_shadow(), film_write_pass_float4(), float4(), float4(), float4(), float4(), float4_to_half4_display(), floor(), floorfrac(), fmod(), get_best_dimension(), hash_float4_to_float(), hash_float4_to_float2(), hash_float4_to_float3(), hash_float4_to_float4(), is_zero(), length_squared(), make_float3(), make_int4(), make_projection(), make_transform(), make_vfloat8(), mat22_determinant(), mat22_inverse(), mat22_mult(), mat22_mult(), max(), max(), min(), operator*, operator*, operator*, operator*(), operator*(), operator+, operator+(), operator-, operator-, operator-(), operator-(), operator/, operator/, operator/, operator/(), operator<(), operator<<(), operator<=(), operator==(), operator>=(), operator^(), print_float4(), projection_transpose(), reduce_add(), reduce_add(), reduce_max(), reduce_min(), rs_texture(), rs_texture3d(), safe_divide(), saturate(), select(), snoise_4d(), sqrt(), svm_node_curves(), svm_node_radial_tiling(), svm_node_tex_environment(), svm_node_tex_image(), svm_node_tex_image_box(), tabulated_sobol_generate_4D(), TEST_F(), transform_direction(), transform_inverse_impl(), transform_motion_array_interpolate(), transform_point(), and transform_to_quat().
| float float4::z |
Definition at line 225 of file sky_math.h.
Referenced by __float4_as_int4(), SVMCompiler::add_node(), area_light_rect_sample(), BVH(), BVH(), BVH(), BVH(), bvh_aligned_node_intersect(), camera_direction_from_point(), camera_distance(), cast(), central_cylindrical_to_direction(), color_float4_to_uchar4(), color_linear_to_srgb_v4(), color_srgb_to_linear_v4(), convert_camera_transform(), copy_matrix(), copy_matrix(), copy_v4_v4(), cross(), debug_color_pack(), direction_to_central_cylindrical(), direction_to_equirectangular_range(), dot(), ensure_finite(), equirectangular_range_to_direction(), euler_to_transform(), exp(), fabs(), film_get_pass_pixel_cryptomatte(), film_get_pass_pixel_motion(), film_get_pass_pixel_shadow_catcher_matte_with_shadow(), film_write_pass_float4(), float4(), float4(), float4(), float4(), float4_to_half4_display(), floor(), floorfrac(), fmod(), get_best_dimension(), hash_float4_to_float(), hash_float4_to_float2(), hash_float4_to_float3(), hash_float4_to_float4(), is_zero(), length_squared(), make_float3(), make_int4(), make_projection(), make_transform(), make_vfloat8(), mat22_determinant(), mat22_inverse(), mat22_mult(), mat22_mult(), max(), max(), min(), operator*, operator*, operator*, operator*(), operator*(), operator+, operator+(), operator-, operator-, operator-(), operator-(), operator/, operator/, operator/, operator/(), operator<(), operator<<(), operator<=(), operator==(), operator>=(), operator^(), print_float4(), projection_transpose(), reduce_add(), reduce_add(), reduce_max(), reduce_min(), rs_texture(), rs_texture3d(), safe_divide(), saturate(), select(), snoise_4d(), sqrt(), svm_node_curves(), svm_node_radial_tiling(), svm_node_tex_environment(), svm_node_tex_image(), svm_node_tex_image_box(), tabulated_sobol_generate_4D(), TEST_F(), transform_direction(), transform_inverse_impl(), transform_motion_array_interpolate(), transform_point(), and transform_to_quat().