Home
last modified time | relevance | path

Searched refs:max_angle (Results 1 – 25 of 173) sorted by relevance

1234567

/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/closure/
H A Dbsdf_toon.h71 if (angle < max_angle) in bsdf_toon_get_intensity()
73 else if (angle < (max_angle + smooth) && smooth != 0.0f) in bsdf_toon_get_intensity()
74 is = (1.0f - (angle - max_angle) / smooth); in bsdf_toon_get_intensity()
83 return fminf(max_angle + smooth, M_PI_2_F); in bsdf_toon_get_sample_angle()
92 float max_angle = bsdf->size * M_PI_2_F; in bsdf_diffuse_toon_eval_reflect() local
96 float3 eval = bsdf_toon_get_intensity(max_angle, smooth, angle); in bsdf_diffuse_toon_eval_reflect()
130 float max_angle = bsdf->size * M_PI_2_F; in bsdf_diffuse_toon_sample() local
132 float sample_angle = bsdf_toon_get_sample_angle(max_angle, smooth); in bsdf_diffuse_toon_sample()
171 float max_angle = bsdf->size * M_PI_2_F; in bsdf_glossy_toon_eval_reflect() local
183 float3 eval = bsdf_toon_get_intensity(max_angle, smooth, angle); in bsdf_glossy_toon_eval_reflect()
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/gel/vifa/
H A Dvifa_parallel.cxx34 float range = max_angle - min_angle; in vifa_parallel()
89 while (theta > max_angle) in vifa_parallel()
113 float range = max_angle - min_angle; in vifa_parallel()
121 while (theta > max_angle) in vifa_parallel()
170 map_gaussian(float& max_angle, in map_gaussian() argument
179 max_angle = 0.0; in map_gaussian()
242 max_angle = new_center; in map_gaussian()
269 remove_gaussian(float max_angle, in remove_gaussian() argument
276 vifa_gaussian g(max_angle, std_dev); in remove_gaussian()
281 float vx = max_angle + dx; in remove_gaussian()
[all …]
H A Dvifa_parallel_params.cxx17 max_angle = angle_max; in vifa_parallel_params()
26 max_angle = np.max_angle; in vifa_parallel_params()
36 max_angle = np->max_angle; in vifa_parallel_params()
42 max_angle = DEFAULT_MAX_ANGLE; in vifa_parallel_params()
50 << " max angle = " << max_angle << std::endl in print_info()
H A Dvifa_int_face_attr.cxx238 float max_angle, std_dev, scale; in TwoPeakParallel() local
239 npobj_->map_gaussian(max_angle, std_dev, scale); in TwoPeakParallel()
240 npobj_->remove_gaussian(max_angle, std_dev, scale); in TwoPeakParallel()
258 float max_angle, std_dev, scale; in FourPeakParallel() local
259 npobj_->map_gaussian(max_angle, std_dev, scale); in FourPeakParallel()
260 npobj_->remove_gaussian(max_angle, std_dev, scale); in FourPeakParallel()
278 float max_angle, std_dev, scale; in EightyPercentParallel() local
279 npobj_->map_gaussian(max_angle, std_dev, scale); in EightyPercentParallel()
280 npobj_->remove_gaussian(max_angle, std_dev, scale); in EightyPercentParallel()
H A Dvifa_int_faces_attr.cxx775 float max_angle; in TwoPeakParallel() local
781 npobj_->map_gaussian(max_angle, std_dev, scale); in TwoPeakParallel()
782 npobj_->remove_gaussian(max_angle, std_dev, scale); in TwoPeakParallel()
797 float max_angle; in FourPeakParallel() local
803 npobj_->map_gaussian(max_angle, std_dev, scale); in FourPeakParallel()
804 npobj_->remove_gaussian(max_angle, std_dev, scale); in FourPeakParallel()
822 float max_angle, std_dev, scale; in EightyPercentParallel() local
823 npobj_->map_gaussian(max_angle, std_dev, scale); in EightyPercentParallel()
824 npobj_->remove_gaussian(max_angle, std_dev, scale); in EightyPercentParallel()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/math/
H A Dstaticrand.cpp135 void static_rand_cone(int num, vec3d *out, const vec3d* const in, float max_angle, const matrix* co… in static_rand_cone() argument
150 …vm_rot_point_around_line(&t1, in, fl_radians(static_randf_range(num,-max_angle, max_angle)), &vmd_… in static_rand_cone()
153 …vm_rot_point_around_line(&t2, &t1, fl_radians(static_randf_range(num+1,-max_angle, max_angle)), &v… in static_rand_cone()
156 …vm_rot_point_around_line(out, &t2, fl_radians(static_randf_range(num+2,-max_angle, max_angle)), &v… in static_rand_cone()
161 void static_rand_cone(int num, vec3d* out, const vec3d* const in, float min_angle, float max_angle,… in static_rand_cone() argument
167 if (max_angle < min_angle) { in static_rand_cone()
168 std::swap(min_angle, max_angle); in static_rand_cone()
182 …float z = static_randf_range(num, cosf(fl_radians(max_angle)), cosf(fl_radians(min_angle))); // Ta… in static_rand_cone()
/dports/science/py-dipy/dipy-1.4.1/dipy/workflows/
H A Dtracking.py27 max_angle): argument
54 max_angle=max_angle,
61 max_angle=max_angle,
68 max_angle=max_angle,
125 max_angle=30., argument
194 max_angle=max_angle)
210 max_angle=20., argument
299 max_angle=max_angle,
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/math/
H A Dstaticrand.cpp130 void static_rand_cone(int num, vec3d *out, vec3d *in, float max_angle, matrix *orient) in static_rand_cone() argument
145 …vm_rot_point_around_line(&t1, in, fl_radians(static_randf_range(num,-max_angle, max_angle)), &vmd_… in static_rand_cone()
148 …vm_rot_point_around_line(&t2, &t1, fl_radians(static_randf_range(num+1,-max_angle, max_angle)), &v… in static_rand_cone()
151 …vm_rot_point_around_line(out, &t2, fl_radians(static_randf_range(num+2,-max_angle, max_angle)), &v… in static_rand_cone()
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-aqt/cirq_aqt/
H A Daqt_sampler_test.py105 max_angle = np.pi
110 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
117 max_angle = np.pi
124 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
141 max_angle = np.pi
146 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
160 max_angle = np.pi
169 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
179 max_angle = np.pi
186 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-aqt/cirq_aqt/
H A Daqt_sampler_test.py105 max_angle = np.pi
110 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
117 max_angle = np.pi
124 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
141 max_angle = np.pi
146 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
160 max_angle = np.pi
169 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
179 max_angle = np.pi
186 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-aqt/cirq_aqt/
H A Daqt_sampler_test.py105 max_angle = np.pi
110 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
117 max_angle = np.pi
124 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
141 max_angle = np.pi
146 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
160 max_angle = np.pi
169 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
179 max_angle = np.pi
186 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-aqt/cirq_aqt/
H A Daqt_sampler_test.py105 max_angle = np.pi
110 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
117 max_angle = np.pi
124 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
141 max_angle = np.pi
146 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
160 max_angle = np.pi
169 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
179 max_angle = np.pi
186 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-aqt/cirq_aqt/
H A Daqt_sampler_test.py105 max_angle = np.pi
110 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
117 max_angle = np.pi
124 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
141 max_angle = np.pi
146 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
160 max_angle = np.pi
169 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
179 max_angle = np.pi
186 sweep = cirq.Linspace(key='theta', start=0.1, stop=max_angle / np.pi, length=num_points)
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Helpers.ocd/AI.ocd/Components.ocd/HelperFunctions.ocd/
H A DScript.c38 private func GetBallisticAngle(int x, int y, int tx, int ty, int v, int max_angle) in GetBallisticAngle() argument
56 …if (Inside(lower_angle, -10 * max_angle, 10 * max_angle) && this->CheckBallisticPath(x, y, tx, ty,… in GetBallisticAngle()
60 …if (Inside(upper_angle, -10 * max_angle, 10 * max_angle) && this->CheckBallisticPath(x, y, tx, ty,… in GetBallisticAngle()
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Tools/Decimater/
H A DModNormalDeviationT.hh173 typename Mesh::Scalar max_angle(0.0); in collapse_priority() local
189 if (nc.angle() > max_angle) { in collapse_priority()
190 max_angle = nc.angle(); in collapse_priority()
191 if (max_angle > 0.5 * normal_deviation_) in collapse_priority()
202 return (max_angle < 0.5 * normal_deviation_ ? max_angle : float( Base::ILLEGAL_COLLAPSE )); in collapse_priority()
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/object/
H A Dparticles.cpp30 Particles::Particles(const Vector& epicenter, int min_angle, int max_angle, in Particles() argument
54 … math::radians(graphicsRandom.randf(static_cast<float>(min_angle), static_cast<float>(max_angle))); in Particles()
66 Particles::Particles(const Vector& epicenter, int min_angle, int max_angle, in Particles() argument
94 float angle = (min_angle == max_angle) ? in Particles()
96 … math::radians(graphicsRandom.randf(static_cast<float>(min_angle), static_cast<float>(max_angle))); in Particles()
/dports/science/py-dipy/dipy-1.4.1/dipy/direction/
H A Dclosest_peak_direction_getter.pyx27 `cos(max_angle)` where `max_angle` is the maximum allowed angle between
65 def __init__(self, pmf_gen, max_angle, sphere, pmf_threshold=.1, **kwargs): argument
72 self.cos_similarity = np.cos(np.deg2rad(max_angle))
120 def from_pmf(klass, pmf, max_angle, sphere=default_sphere, argument
128 max_angle : float, [0, 90]
156 return klass(pmf_gen, max_angle, sphere, pmf_threshold, **kwargs)
159 def from_shcoeff(klass, shcoeff, max_angle, sphere=default_sphere, argument
173 max_angle : float, [0, 90]
198 return klass(pmf_gen, max_angle, sphere, pmf_threshold, **kwargs)
H A Dprobabilistic_direction_getter.pyx28 directions more than ``max_angle`` degrees from the incoming direction are
35 def __init__(self, pmf_gen, max_angle, sphere=None, pmf_threshold=0.1, argument
44 max_angle : float, [0, 90]
64 PmfGenDirectionGetter.__init__(self, pmf_gen, max_angle, sphere,
73 max_angle degrees from the key"""
144 def __init__(self, pmf_gen, max_angle, sphere=None, pmf_threshold=0.1, argument
146 ProbabilisticDirectionGetter.__init__(self, pmf_gen, max_angle, sphere,
/dports/x11-wm/wayfire-plugins-extra/wayfire-plugins-extra-0.7.0/src/
H A Dbench.cpp198 double max_angle = M_PI - M_PI / 8; in render_bench() local
221 fps_angle = max_angle + (current_fps / in render_bench()
223 (target_angle - max_angle); in render_bench()
226 fps_angle = max_angle + (current_fps / max_fps) * in render_bench()
227 (target_angle - max_angle); in render_bench()
235 cairo_arc_negative(cr, xc, yc, radius, min_angle, max_angle); in render_bench()
240 cairo_arc_negative(cr, xc, yc, radius, min_angle, max_angle); in render_bench()
245 cairo_arc_negative(cr, xc, yc, radius, fps_angle, max_angle); in render_bench()
/dports/multimedia/libgav1/libgav1-0.17.0/src/dsp/
H A Dintrapred_directional_test.cc226 int* const max_angle) const { in GetZoneAngleRange()
228 ASSERT_NE(max_angle, nullptr); in GetZoneAngleRange()
238 *max_angle = 87; in GetZoneAngleRange()
242 *max_angle = 177; in GetZoneAngleRange()
246 *max_angle = 212; in GetZoneAngleRange()
317 int min_angle = 0, max_angle = 0; in TestSpeed() local
318 ASSERT_NO_FATAL_FAILURE(GetZoneAngleRange(zone, &min_angle, &max_angle)); in TestSpeed()
404 int min_angle = 0, max_angle = 0; in TestSaturatedValues() local
406 GetZoneAngleRange(static_cast<Zone>(i), &min_angle, &max_angle)); in TestSaturatedValues()
499 int min_angle = 0, max_angle = 0; in TestRandomValues() local
[all …]
/dports/science/chrono/chrono-7.0.1/src/demos/irrlicht/
H A Ddemo_IRR_rev_limits.cpp90 double max_angle = 0.75 * CH_C_PI; in main() local
93 rev->GetLimit_Rz().SetMax(max_angle); in main()
122 ChVector<> p2(std::cos(max_angle), -std::sin(max_angle), 0); in main()
/dports/misc/morse/morse-1.4-154-g53f9eaa8/src/morse/middleware/ros/
H A Dread_asctec_ctrl_input.py19 max_angle = math.radians(30)
24 roll = message.roll / asctec_scale * max_angle
25 pitch = message.pitch / asctec_scale * max_angle
/dports/science/chrono/chrono-7.0.1/src/demos/python/irrlicht/
H A Ddemo_IRR_rev_limits.py75 max_angle = 0.75 * m.pi variable
78 rev.GetLimit_Rz().SetMax(max_angle)
95 p2 = chrono.ChVectorD(m.cos(max_angle), -m.sin(max_angle), 0)
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/optflow/test/
H A Dtest_motiontemplates.cpp398 double angle, min_angle, max_angle; member in opencv_test::__anon6564c1090111::CV_MHIGlobalOrientTest
408 min_angle = max_angle = 0; in CV_MHIGlobalOrientTest()
426 max_angle = cvtest::randReal(rng)*359.9; in get_test_array_types_and_sizes()
427 if( min_angle >= max_angle ) in get_test_array_types_and_sizes()
429 std::swap( min_angle, max_angle); in get_test_array_types_and_sizes()
431 max_angle += 0.1; in get_test_array_types_and_sizes()
443 high = Scalar::all(max_angle); in get_minmax_bounds()
475 max_angle + err_level >= angle) && in validate_test_results()
477 max_angle + err_level >= angle+360) ) in validate_test_results()
480 angle, min_angle - err_level, max_angle + err_level ); in validate_test_results()
/dports/games/warmux/warmux-11.04/src/weapon/
H A Dweapon.cpp91 max_strength = min_angle = max_angle = 0; in Weapon()
102 if (!use_flipping && !EqualsZero(min_angle - max_angle)) in Weapon()
517 if (!EqualsZero(min_angle - max_angle)) { in Draw()
537 if (!EqualsZero(min_angle - max_angle)) { in Draw()
672 max_angle = max_angle_deg * PI / 180; in LoadXml()
673 if (EqualsZero(min_angle - max_angle)) in LoadXml()
677 uint num = 32 * (max_angle - min_angle) / TWO_PI; in LoadXml()
678 m_weapon_fire->EnableCaches(true, num, min_angle, max_angle); in LoadXml()
717 return min_angle <= angle && angle <= max_angle; in IsAngleValid()

1234567