|
Blender V5.0
|
#include <algorithm>#include <cmath>Go to the source code of this file.
Classes | |
| struct | float2 |
| struct | float3 |
| struct | float4 |
Macros | |
| #define | M_PI_F (3.1415926535897932f) /* pi */ |
| #define | M_PI_2_F (1.5707963267948966f) /* pi/2 */ |
| #define | M_2PI_F (6.2831853071795864f) /* 2*pi */ |
| #define | M_1_PI_F (0.3183098861837067f) /* 1/pi */ |
| #define | M_4PI_F (12.566370614359172f) /* 4*pi */ |
| #define | M_1_4PI_F (0.0795774715459476f) /* 1/(4*pi) */ |
| #define M_1_4PI_F (0.0795774715459476f) /* 1/(4*pi) */ |
Definition at line 38 of file sky_math.h.
| #define M_1_PI_F (0.3183098861837067f) /* 1/pi */ |
Definition at line 32 of file sky_math.h.
| #define M_2PI_F (6.2831853071795864f) /* 2*pi */ |
Definition at line 29 of file sky_math.h.
| #define M_4PI_F (12.566370614359172f) /* 4*pi */ |
Definition at line 35 of file sky_math.h.
| #define M_PI_2_F (1.5707963267948966f) /* pi/2 */ |
Definition at line 26 of file sky_math.h.
| #define M_PI_F (3.1415926535897932f) /* pi */ |
Definition at line 23 of file sky_math.h.
Definition at line 346 of file sky_math.h.
References b.
Definition at line 376 of file sky_math.h.
References b.
Definition at line 406 of file sky_math.h.
References b.
Definition at line 341 of file sky_math.h.
References b, float2::x, and float2::y.
Referenced by ray_sphere_intersection().
Definition at line 426 of file sky_math.h.
References expf, make_float4, float4::w, float4::x, float4::y, and float4::z.
Definition at line 356 of file sky_math.h.
References float2::length().
Definition at line 386 of file sky_math.h.
References float3::length().
Definition at line 416 of file sky_math.h.
References float4::length().
Definition at line 351 of file sky_math.h.
References float2::length_squared().
Definition at line 381 of file sky_math.h.
References float3::length_squared().
Definition at line 411 of file sky_math.h.
References float4::length_squared().
Definition at line 336 of file sky_math.h.
Definition at line 431 of file sky_math.h.
References b, make_float4, float4::w, float4::x, float4::y, and float4::z.
Definition at line 452 of file sky_math.h.
Definition at line 462 of file sky_math.h.
References b, dot(), pos, and sqrtf.
Referenced by SkyMultipleScattering::get_transmittance(), and SKY_multiple_scattering_precompute_texture().
Definition at line 361 of file sky_math.h.
Definition at line 391 of file sky_math.h.
Definition at line 331 of file sky_math.h.
References max_ff(), MINLINE, sqrt, and sqrtf.
Referenced by blo_do_versions_300(), boid_body(), boid_brain(), bsdf_sheen_sample(), bssrdf_burley_sample(), cos_theta(), disk_to_hemisphere(), ensure_valid_specular_reflection(), fresnel_dielectric_polarized(), guiding_record_surface_bounce(), light_tree_cos_bound_subtended_angle(), SkyMultipleScattering::lookup_multiscattering(), microfacet_ggx_sample_vndf(), mnee_sample_bsdf_dh(), phase_henyey_greenstein(), point_light_sample(), sample_cos_hemisphere(), blender::eevee::Sampling::sample_hemisphere(), blender::eevee::Sampling::sample_sphere(), sample_uniform_cone(), sample_uniform_hemisphere(), spot_light_sample(), svm_math(), and blender::nodes::try_dispatch_float_math_fl_to_fl().
Definition at line 447 of file sky_math.h.
References clamp().
|
inline |
Definition at line 482 of file sky_math.h.
Referenced by SkyMultipleScattering::precompute_lut(), SKY_multiple_scattering_precompute_texture(), and SKY_single_scattering_precompute_texture().
Definition at line 326 of file sky_math.h.
Definition at line 457 of file sky_math.h.
References make_float3(), and sqrtf.
Referenced by LightManager::device_update_background(), SkyMultipleScattering::get_transmittance(), NODE_DEFINE(), and SKY_multiple_scattering_precompute_texture().