Lines Matching refs:y
33 float y; member
36 return x * x + y * y; in lengthSquared()
40 return sqrt(x * x + y * y); in length()
45 y += v.y;
50 y -= v.y;
55 y += v;
60 y -= v;
65 y /= s;
70 y *= s;
74 return (Vector2){x + v.x, y + v.y};
78 return (Vector2){x - v.x, y - v.y};
82 return (Vector2){x / s, y / s};
86 return (Vector2){x * s, y * s};
92 y *= s; in normalize()
96 Vector2 v = {x, y}; in copyNormalized()
102 return x * v.x + y * v.y; in dot()
106 return x * v.y - y * v.x; in cross()
110 ALOGD("Vector2[%.2f, %.2f]", x, y); in dump()
118 float y; variable
122 return (Vector3){x + v.x, y + v.y, z + v.z};
126 return (Vector3){x - v.x, y - v.y, z - v.z};
130 return (Vector3){x / s, y / s, z / s};
134 return (Vector3){x * s, y * s, z * s};
139 ALOGD("%s[%.2f, %.2f, %.2f]", label, x, y, z);