Home
last modified time | relevance | path

Searched refs:eye (Results 1 – 25 of 6336) sorted by relevance

12345678910>>...254

/dports/x11-clocks/eyeclock/eyeclock-2.0/
H A DEye.c197 if (!ew->eye.core_figure && !ew->eye.eye_figure) { in Initialize()
258 ew->eye.gc_black, ew->eye.gc_white); in Initialize()
267 0, 0, ew->eye.core_size.x, ew->eye.core_size.y, 0, 0); in Initialize()
274 ew->eye.gc_black, ew->eye.gc_white); in Initialize()
283 0, 0, ew->eye.eye_size.x, ew->eye.eye_size.y, 0, 0); in Initialize()
423 width = ew->eye.core_size.x * ew->eye.ratio_x / 100; in Resize()
424 height = ew->eye.core_size.y * ew->eye.ratio_y / 100; in Resize()
434 width = ew->eye.eye_size.x * ew->eye.ratio_x / 100; in Resize()
435 height = ew->eye.eye_size.y * ew->eye.ratio_y / 100; in Resize()
563 if (!ew->eye.fill_color && !ew->eye.fill_pixmap) in EyeDraw()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/editors/interface/
H A Dinterface_eyedropper_colorband.c130 eye->color_buffer = MEM_mallocN(sizeof(*eye->color_buffer) * eye->color_buffer_alloc, __func__); in eyedropper_colorband_init()
133 eye->init_color_band = *eye->color_band; in eyedropper_colorband_init()
148 if (eye->last_x != mx || eye->last_y != my) { in eyedropper_colorband_sample_point()
154 eye->color_buffer = MEM_reallocN(eye->color_buffer, in eyedropper_colorband_sample_point()
169 EyedropperColorband *eye = data->eye; in eyedropper_colorband_sample_callback() local
182 const int p1[2] = {eye->last_x, eye->last_y}; in eyedropper_colorband_sample_segment()
205 eye->color_band, eye->color_buffer, eye->color_buffer_len, filter_samples); in eyedropper_colorband_apply()
208 RNA_property_update(C, &eye->ptr, eye->prop); in eyedropper_colorband_apply()
216 *eye->color_band = eye->init_color_band; in eyedropper_colorband_cancel()
218 RNA_property_update(C, &eye->ptr, eye->prop); in eyedropper_colorband_cancel()
[all …]
H A Dinterface_eyedropper_color.c82 uiBut *but = UI_context_active_but_prop_get(C, &eye->ptr, &eye->prop, &eye->index); in eyedropper_init()
85 if ((eye->ptr.data == NULL) || (eye->prop == NULL) || in eyedropper_init()
86 (RNA_property_editable(&eye->ptr, eye->prop) == false) || in eyedropper_init()
87 (RNA_property_array_length(&eye->ptr, eye->prop) < 3) || in eyedropper_init()
90 MEM_freeN(eye); in eyedropper_init()
98 RNA_property_float_get_array(&eye->ptr, eye->prop, col); in eyedropper_init()
212 RNA_property_float_get_array(&eye->ptr, eye->prop, col_conv); in eyedropper_color_set()
223 RNA_property_float_set_array(&eye->ptr, eye->prop, col_conv); in eyedropper_color_set()
226 RNA_property_update(C, &eye->ptr, eye->prop); in eyedropper_color_set()
258 if (eye->is_set) { in eyedropper_cancel()
[all …]
/dports/games/tecnoballz/tecnoballz-0.93.1/src/
H A Dcontroller_magnetic_eyes.cc62 if (eye->is_enabled) in create_eye()
96 eye->radius_360 = 0; in create_eyes_list()
120 if (eye->centerPosx > eye->finishPosx - j && in move()
121 eye->centerPosx < eye->finishPosx + j && in move()
122 eye->centerPosy > eye->finishPosy - j && in move()
123 eye->centerPosy < eye->finishPosy + j) in move()
134 Sint32 delta_x = eye->finishPosx - eye->centerPosx; in move()
140 Sint32 delta_y = eye->finishPosy - eye->centerPosy; in move()
186 eye->radius_360 = (eye->radius_360 + 4) % 360; in move()
191 eye->x_coord = eye->centerPosx + x + (15 * res); in move()
[all …]
/dports/audio/faust/faust-2.37.3/tools/physicalModeling/mesh2faust/vega/libraries/glui/glui-2.35/src/
H A Dviewmodel.cpp48 forward = lookat - eye; in set_distance()
74 eye = new_eye; in set_eye()
184 eye = lookat + vector; in reset_up()
220 eye += diff; in move_by_eye()
232 eye += diff; in move_by_lookat()
240 eye += v; in move_abs()
254 lookat = eye + view; in rot_about_eye()
269 eye = lookat + view; in rot_about_lookat()
295 glTranslatef( -eye[VX], -eye[VY], -eye[VZ] ); in load_to_openGL()
307 glTranslatef( -eye[VX], -eye[VY], -eye[VZ] ); in load_to_openGL_noident()
[all …]
/dports/devel/glui/glui-2.36/src/
H A Dviewmodel.cpp50 forward = lookat - eye; in set_distance()
76 eye = new_eye; in set_eye()
186 eye = lookat + vector; in reset_up()
222 eye += diff; in move_by_eye()
234 eye += diff; in move_by_lookat()
242 eye += v; in move_abs()
256 lookat = eye + view; in rot_about_eye()
271 eye = lookat + view; in rot_about_lookat()
297 glTranslatef( -eye[VX], -eye[VY], -eye[VZ] ); in load_to_openGL()
309 glTranslatef( -eye[VX], -eye[VY], -eye[VZ] ); in load_to_openGL_noident()
[all …]
/dports/games/bzflag-server/bzflag-2.4.22/src/game/
H A DFrustum.cxx56 eye[0] = _eye[0]; in setView()
57 eye[1] = _eye[1]; in setView()
58 eye[2] = _eye[2]; in setView()
144 plane[0][3] = -(eye[0] * plane[0][0] + eye[1] * plane[0][1] + in setView()
245 plane[index][3] = -(eye[0] * plane[index][0] + eye[1] * plane[index][1] + in makePlane()
254 eye[2] = -eye[2]; in flipVertical()
266 eye[0] = -eye[0]; in flipHorizontal()
301 plane[1][3] = -((eye[0] * plane[1][0]) + (eye[1] * plane[1][1])) + width; in setOrthoPlanes()
305 plane[2][3] = -((eye[0] * plane[2][0]) + (eye[1] * plane[2][1])) + width; in setOrthoPlanes()
309 plane[3][3] = -((eye[0] * plane[3][0]) + (eye[1] * plane[3][1])) + breadth; in setOrthoPlanes()
[all …]
/dports/games/bzflag/bzflag-2.4.22/src/game/
H A DFrustum.cxx56 eye[0] = _eye[0]; in setView()
57 eye[1] = _eye[1]; in setView()
58 eye[2] = _eye[2]; in setView()
144 plane[0][3] = -(eye[0] * plane[0][0] + eye[1] * plane[0][1] + in setView()
245 plane[index][3] = -(eye[0] * plane[index][0] + eye[1] * plane[index][1] + in makePlane()
254 eye[2] = -eye[2]; in flipVertical()
266 eye[0] = -eye[0]; in flipHorizontal()
301 plane[1][3] = -((eye[0] * plane[1][0]) + (eye[1] * plane[1][1])) + width; in setOrthoPlanes()
305 plane[2][3] = -((eye[0] * plane[2][0]) + (eye[1] * plane[2][1])) + width; in setOrthoPlanes()
309 plane[3][3] = -((eye[0] * plane[3][0]) + (eye[1] * plane[3][1])) + breadth; in setOrthoPlanes()
[all …]
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/GameSrc/
H A Dfroslew.c120 eye = leye; in fr_objslew_go_real_height()
123 x = eye[0] >> MAP_SH; in fr_objslew_go_real_height()
124 y = eye[1] >> MAP_SH; in fr_objslew_go_real_height()
134 diff = eye[1] & MAP_MK; in fr_objslew_go_real_height()
137 diff = eye[0] & MAP_MK; in fr_objslew_go_real_height()
161 x = eye[0] >> MAP_SH; in fr_objslew_allowed()
162 y = eye[1] >> MAP_SH; in fr_objslew_allowed()
176 int32_t eye[4]; in fr_objslew_moveone() local
181 fr_objslew_obj_to_list(eye, cobj, 4); in fr_objslew_moveone()
197 eye[2] += how << SLOPE_SHIFT_D; in fr_objslew_moveone()
[all …]
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/linalg/
H A Dcombinators_test.py45 assert np.allclose(cirq.kron(), np.eye(1))
46 assert np.allclose(cirq.kron(np.eye(1)), np.eye(1))
47 assert np.allclose(cirq.kron(np.eye(2)), np.eye(2))
48 assert np.allclose(cirq.kron(np.eye(1), np.eye(1)), np.eye(1))
49 assert np.allclose(cirq.kron(np.eye(1), np.eye(2)), np.eye(2))
50 assert np.allclose(cirq.kron(np.eye(2), np.eye(3)), np.eye(6))
51 assert np.allclose(cirq.kron(np.eye(2), np.eye(3), np.eye(4)), np.eye(24))
58 cirq.kron(np.eye(2), u), np.array([[2, 3, 0, 0], [5, 7, 0, 0], [0, 0, 2, 3], [0, 0, 5, 7]])
62 cirq.kron(u, np.eye(2)), np.array([[2, 0, 3, 0], [0, 2, 0, 3], [5, 0, 7, 0], [0, 5, 0, 7]])
72 assert np.allclose(cirq.kron_with_controls(), np.eye(1))
[all …]
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/linalg/
H A Dcombinators_test.py45 assert np.allclose(cirq.kron(), np.eye(1))
46 assert np.allclose(cirq.kron(np.eye(1)), np.eye(1))
47 assert np.allclose(cirq.kron(np.eye(2)), np.eye(2))
48 assert np.allclose(cirq.kron(np.eye(1), np.eye(1)), np.eye(1))
49 assert np.allclose(cirq.kron(np.eye(1), np.eye(2)), np.eye(2))
50 assert np.allclose(cirq.kron(np.eye(2), np.eye(3)), np.eye(6))
51 assert np.allclose(cirq.kron(np.eye(2), np.eye(3), np.eye(4)), np.eye(24))
58 cirq.kron(np.eye(2), u), np.array([[2, 3, 0, 0], [5, 7, 0, 0], [0, 0, 2, 3], [0, 0, 5, 7]])
62 cirq.kron(u, np.eye(2)), np.array([[2, 0, 3, 0], [0, 2, 0, 3], [5, 0, 7, 0], [0, 5, 0, 7]])
72 assert np.allclose(cirq.kron_with_controls(), np.eye(1))
[all …]
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/linalg/
H A Dcombinators_test.py45 assert np.allclose(cirq.kron(), np.eye(1))
46 assert np.allclose(cirq.kron(np.eye(1)), np.eye(1))
47 assert np.allclose(cirq.kron(np.eye(2)), np.eye(2))
48 assert np.allclose(cirq.kron(np.eye(1), np.eye(1)), np.eye(1))
49 assert np.allclose(cirq.kron(np.eye(1), np.eye(2)), np.eye(2))
50 assert np.allclose(cirq.kron(np.eye(2), np.eye(3)), np.eye(6))
51 assert np.allclose(cirq.kron(np.eye(2), np.eye(3), np.eye(4)), np.eye(24))
58 cirq.kron(np.eye(2), u), np.array([[2, 3, 0, 0], [5, 7, 0, 0], [0, 0, 2, 3], [0, 0, 5, 7]])
62 cirq.kron(u, np.eye(2)), np.array([[2, 0, 3, 0], [0, 2, 0, 3], [5, 0, 7, 0], [0, 5, 0, 7]])
72 assert np.allclose(cirq.kron_with_controls(), np.eye(1))
[all …]
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/linalg/
H A Dcombinators_test.py45 assert np.allclose(cirq.kron(), np.eye(1))
46 assert np.allclose(cirq.kron(np.eye(1)), np.eye(1))
47 assert np.allclose(cirq.kron(np.eye(2)), np.eye(2))
48 assert np.allclose(cirq.kron(np.eye(1), np.eye(1)), np.eye(1))
49 assert np.allclose(cirq.kron(np.eye(1), np.eye(2)), np.eye(2))
50 assert np.allclose(cirq.kron(np.eye(2), np.eye(3)), np.eye(6))
51 assert np.allclose(cirq.kron(np.eye(2), np.eye(3), np.eye(4)), np.eye(24))
58 cirq.kron(np.eye(2), u), np.array([[2, 3, 0, 0], [5, 7, 0, 0], [0, 0, 2, 3], [0, 0, 5, 7]])
62 cirq.kron(u, np.eye(2)), np.array([[2, 0, 3, 0], [0, 2, 0, 3], [5, 0, 7, 0], [0, 5, 0, 7]])
72 assert np.allclose(cirq.kron_with_controls(), np.eye(1))
[all …]
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/linalg/
H A Dcombinators_test.py45 assert np.allclose(cirq.kron(), np.eye(1))
46 assert np.allclose(cirq.kron(np.eye(1)), np.eye(1))
47 assert np.allclose(cirq.kron(np.eye(2)), np.eye(2))
48 assert np.allclose(cirq.kron(np.eye(1), np.eye(1)), np.eye(1))
49 assert np.allclose(cirq.kron(np.eye(1), np.eye(2)), np.eye(2))
50 assert np.allclose(cirq.kron(np.eye(2), np.eye(3)), np.eye(6))
51 assert np.allclose(cirq.kron(np.eye(2), np.eye(3), np.eye(4)), np.eye(24))
58 cirq.kron(np.eye(2), u), np.array([[2, 3, 0, 0], [5, 7, 0, 0], [0, 0, 2, 3], [0, 0, 5, 7]])
62 cirq.kron(u, np.eye(2)), np.array([[2, 0, 3, 0], [0, 2, 0, 3], [5, 0, 7, 0], [0, 5, 0, 7]])
72 assert np.allclose(cirq.kron_with_controls(), np.eye(1))
[all …]
/dports/x11-toolkits/p5-Prima/Prima-1.63/examples/
H A Deyes.pl25 my $eye = 0.45;
49 my @eye = ( $sz[0] * $eye, $sz[1] * $eye * 2);
51 $i-> ellipse( $sz[0] * 0.25, $sz[1]/2, @eye);
52 $i-> fill_ellipse( $sz[0]*0.25, $sz[1]/2, @eye);
53 $i-> ellipse( $sz[0]*0.75, $sz[1]/2, @eye);
54 $i-> fill_ellipse( $sz[0]*0.75, $sz[1]/2, @eye);
101 my @eye = ( $sz[0] * $eye, $sz[1] * $eye * 2);
105 $canvas-> ellipse( 0, 0, @eye);
110 ($eye[1]*$cos) * ($eye[1]*$cos) +
111 ($eye[0]*$sin) * ($eye[0]*$sin)
[all …]
/dports/science/py-scipy/scipy-1.7.1/scipy/linalg/tests/
H A Dtest_solvers.py152 np.eye(2),
174 np.eye(2),
196 np.eye(9),
197 np.eye(3),
216 np.eye(2),
221 np.eye(2),
222 np.eye(2),
223 np.eye(2),
235 np.eye(3),
262 (np.eye(64, 64, k=-1) + np.eye(64, 64)*(-2.) + np.rot90(
[all …]
/dports/misc/openvdb/openvdb-9.0.0/openvdb/openvdb/unittest/
H A DTestRay.cc77 RayT ray(eye, dir, t0, t1); in TEST_F()
78 EXPECT_TRUE(ray.eye()==eye); in TEST_F()
95 RayT ray0(eye, dir, t0, t1); in TEST_F()
107 ASSERT_DOUBLES_APPROX_EQUAL( eye[0], ray2.eye()[0]); in TEST_F()
108 ASSERT_DOUBLES_APPROX_EQUAL( eye[1], ray2.eye()[1]); in TEST_F()
109 ASSERT_DOUBLES_APPROX_EQUAL( eye[2], ray2.eye()[2]); in TEST_F()
159 ASSERT_DOUBLES_APPROX_EQUAL( eye[0], ray2.eye()[0]); in TEST_F()
160 ASSERT_DOUBLES_APPROX_EQUAL( eye[1], ray2.eye()[1]); in TEST_F()
161 ASSERT_DOUBLES_APPROX_EQUAL( eye[2], ray2.eye()[2]); in TEST_F()
185 RayT ray(eye, dir); in TEST_F()
[all …]
H A DTestVolumeRayIntersector.cc44 const Vec3T eye(-1.0, 0.0, 0.0); in TEST_F() local
61 const Vec3T eye(-1.0, 0.0, 0.0); in TEST_F() local
78 const Vec3T eye(-1.0, 0.0, 0.0); in TEST_F() local
95 const Vec3T eye(-1.0, 0.0, 0.0); in TEST_F() local
113 const Vec3T eye(-1.0, 0.0, 0.0); in TEST_F() local
132 const Vec3T eye(-1.0, 0.0, 0.0); in TEST_F() local
154 const Vec3T eye(-1.0, 0.0, 0.0); in TEST_F() local
223 const RayT ray(eye, dir); in TEST_F()
246 const RayT ray(eye, dir); in TEST_F()
269 const RayT ray(eye, dir); in TEST_F()
[all …]
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/MacSrc/
H A DTests.c1487 printf("Eye: %f %f %f\n", fix_float(eye[0]), fix_float(eye[1]), fix_float(eye[2])); in RenderTest()
1534 eye[1]+=fix_mul(cosEye,moveAmt); in RenderTest()
1547 eye[EYE_H]-=(moveAmt>>1); in RenderTest()
1549 eye[EYE_H]+=(moveAmt>>1); in RenderTest()
1553 eye[EYE_P] = 0; in RenderTest()
1555 eye[EYE_P]+=(moveAmt>>1); in RenderTest()
1557 eye[EYE_P]-=(moveAmt>>1); in RenderTest()
1561 eye[EYE_B]-=(moveAmt>>1); in RenderTest()
1563 eye[EYE_B]+=(moveAmt>>1); in RenderTest()
1567 eye[2]-=moveAmt; in RenderTest()
[all …]
/dports/math/py-sympy/sympy-1.9/sympy/matrices/tests/
H A Dtest_decompositions.py98 assert U.T * U == eye(U.cols)
99 assert V.T * V == eye(V.cols)
105 assert U.T * U == eye(U.cols)
106 assert V.T * V == eye(V.cols)
118 assert U.T * U == eye(U.cols)
119 assert V.T * V == eye(V.cols)
138 assert Q.T * Q == eye(2)
142 assert Q.T * Q == eye(Q.cols)
148 assert Q.T * Q == eye(Q.cols)
156 assert Q.T * Q == eye(Q.cols)
[all …]
/dports/math/py-sympy/sympy-1.9/sympy/matrices/expressions/tests/
H A Dtest_matadd.py3 from sympy.matrices import eye, ImmutableMatrix
19 assert isinstance(MatAdd(eye(1), eye(1)).args[0], Basic)
20 assert isinstance(add(eye(1), eye(1)).args[0], Basic)
24 assert MatAdd(eye(2), 4*eye(2), eye(2)).doit() == ImmutableMatrix(6*eye(2))
25 assert add(eye(2), 4*eye(2), eye(2)).doit() == ImmutableMatrix(6*eye(2))
/dports/math/octave-forge-symbolic/symbolic-2.9.0/inst/@sym/
H A Deye.m22 %% @defmethod @@sym eye (@var{n})
29 %% y = eye (sym(3))
43 function y = eye(varargin) function
52 y = eye (varargin{:});
69 ' return eye(n)'
77 %! y = eye(sym(2));
82 %! y = eye(sym(2), 1);
87 %! y = eye(sym(1), 2);
92 %! y = eye (sym([2 3]));
93 %! x = sym (eye ([2 3]));
[all …]
/dports/science/py-nibabel/nibabel-3.2.1/nibabel/tests/
H A Dtest_spaces.py23 new_v2v = np.eye(n_axes + 1)
42 ((2, 3, 4), np.eye(4), None, (2, 3, 4), np.eye(4)),
51 (5, 11, 19), np.eye(4)),
69 ((2, 3), np.eye(4), None,
70 (2, 3), np.eye(4)),
71 ((2,), np.eye(4), None,
72 (2,), np.eye(4)),
82 shape, aff = vox2out_vox(((2, 3, 4), np.eye(4)))
84 assert (aff == np.eye(4)).all()
96 vox2out_vox(((2, 3, 4, 5), np.eye(4)))
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/device/vr/test/
H A Dfake_vr_device.cc28 mojom::VREyeParametersPtr eye = mojom::VREyeParameters::New(); in InitEye() local
30 eye->field_of_view = mojom::VRFieldOfView::New(); in InitEye()
31 eye->field_of_view->up_degrees = fov; in InitEye()
32 eye->field_of_view->down_degrees = fov; in InitEye()
33 eye->field_of_view->left_degrees = fov; in InitEye()
34 eye->field_of_view->right_degrees = fov; in InitEye()
38 eye->head_from_eye = gfx::ComposeTransform(decomp); in InitEye()
40 eye->render_width = size; in InitEye()
41 eye->render_height = size; in InitEye()
43 return eye; in InitEye()
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/src/
H A Dstereo.cpp64 if (eye == eyeLeft) in CalcEyePosition()
127 enumEye eye = eyeLeft; in WhichEye() local
135 return eye; in WhichEye()
169 *eye = eyeLeft; in WhichEyeForAnaglyph()
171 *eye = eyeRight; in WhichEyeForAnaglyph()
173 *eye = enumEye(repeat % 2); in WhichEyeForAnaglyph()
186 if (eye == eyeLeft) in GetRegion()
193 if (eye == eyeLeft) in GetRegion()
220 if (eye == cStereo::eyeLeft) in ViewVectorCorrection()
238 if (eye == cStereo::eyeLeft) in ViewVectorCorrection()
[all …]

12345678910>>...254