Home
last modified time | relevance | path

Searched refs:t (Results 1 – 1 of 1) sorted by relevance

/StarryEngine/starry_client/src/base/
H A Dgraphicspath.rs43 let mut t: f32 = 0.0; in quadratic_bezier_curve_to() localVariable
51 while t < 1.0 { in quadratic_bezier_curve_to()
52 u = 1.0 - t; in quadratic_bezier_curve_to()
54 tt = t * t; in quadratic_bezier_curve_to()
59 x += 2.0 * u * t * (argx1 as f32); in quadratic_bezier_curve_to()
60 y += 2.0 * u * t * (argy1 as f32); in quadratic_bezier_curve_to()
65 t += 0.01; in quadratic_bezier_curve_to()
83 let mut t: f32 = 0.0; in cubic_bezier_curve_to() localVariable
93 while t < 1.0 { in cubic_bezier_curve_to()
94 u = 1.0 - t; in cubic_bezier_curve_to()
[all …]