Lines Matching refs:y_
47 float y_; variable
57 x_ = y_ = 0.f; in Vec2()
63 y_ = fY; in Vec2()
69 y_ = vec.y_; in Vec2()
75 y_ = (*pVec++); in Vec2()
83 ret.y_ = y_ * rhs.y_;
91 ret.y_ = y_ / rhs.y_;
99 ret.y_ = y_ + rhs.y_;
107 ret.y_ = y_ - rhs.y_;
114 y_ += rhs.y_;
121 y_ -= rhs.y_;
128 y_ *= rhs.y_;
135 y_ /= rhs.y_;
149 ret.y_ = lhs * rhs.y_;
157 ret.y_ = lhs / rhs.y_;
166 ret.y_ = y_ * rhs;
173 y_ = y_ * rhs;
181 ret.y_ = y_ / rhs;
188 y_ = y_ / rhs;
195 if( x_ != rhs.x_ || y_ != rhs.y_ )
210 return sqrtf( x_ * x_ + y_ * y_ ); in Length()
217 y_ = y_ / len; in Normalize()
223 return x_ * rhs.x_ + y_ * rhs.y_; in Dot()
228 if( isnan( x_ ) || isnan( y_ ) ) in Validate()
236 fY = y_; in Value()
241 LOGI( "Vec2 %f %f", x_, y_ ); in Dump()
252 float x_, y_, z_;
261 x_ = y_ = z_ = 0.f; in Vec3()
267 y_ = fY; in Vec3()
274 y_ = vec.y_; in Vec3()
281 y_ = (*pVec++); in Vec3()
288 y_ = vec.y_; in Vec3()
299 ret.y_ = y_ * rhs.y_;
308 ret.y_ = y_ / rhs.y_;
317 ret.y_ = y_ + rhs.y_;
326 ret.y_ = y_ - rhs.y_;
334 y_ += rhs.y_;
342 y_ -= rhs.y_;
350 y_ *= rhs.y_;
358 y_ /= rhs.y_;
373 ret.y_ = lhs * rhs.y_;
382 ret.y_ = lhs / rhs.y_;
392 ret.y_ = y_ * rhs;
400 y_ = y_ * rhs;
409 ret.y_ = y_ / rhs;
417 y_ = y_ / rhs;
425 if( x_ != rhs.x_ || y_ != rhs.y_ || z_ != rhs.z_ )
440 return sqrtf( x_ * x_ + y_ * y_ + z_ * z_ ); in Length()
447 y_ = y_ / len; in Normalize()
454 return x_ * rhs.x_ + y_ * rhs.y_ + z_ * rhs.z_; in Dot()
460 ret.x_ = y_ * rhs.z_ - z_ * rhs.y_; in Cross()
461 ret.y_ = z_ * rhs.x_ - x_ * rhs.z_; in Cross()
462 ret.z_ = x_ * rhs.y_ - y_ * rhs.x_; in Cross()
468 if( isnan( x_ ) || isnan( y_ ) || isnan( z_ ) ) in Validate()
476 fY = y_; in Value()
482 LOGI( "Vec3 %f %f %f", x_, y_, z_ ); in Dump()
493 float x_, y_, z_, w_;
502 x_ = y_ = z_ = w_ = 0.f; in Vec4()
508 y_ = fY; in Vec4()
516 y_ = vec.y_; in Vec4()
524 y_ = vec.y_; in Vec4()
532 y_ = (*pVec++); in Vec4()
542 ret.y_ = y_ * rhs.y_;
552 ret.y_ = y_ / rhs.y_;
562 ret.y_ = y_ + rhs.y_;
572 ret.y_ = y_ - rhs.y_;
581 y_ += rhs.y_;
590 y_ -= rhs.y_;
599 y_ *= rhs.y_;
608 y_ /= rhs.y_;
624 ret.y_ = lhs * rhs.y_;
634 ret.y_ = lhs / rhs.y_;
645 ret.y_ = y_ * rhs;
654 y_ = y_ * rhs;
664 ret.y_ = y_ / rhs;
673 y_ = y_ / rhs;
682 if( x_ != rhs.x_ || y_ != rhs.y_ || z_ != rhs.z_ || w_ != rhs.w_ )
699 return sqrtf( x_ * x_ + y_ * y_ + z_ * z_ + w_ * w_ ); in Length()
706 y_ = y_ / len; in Normalize()
714 return x_ * rhs.x_ + y_ * rhs.y_ + z_ * rhs.z_; in Dot()
720 ret.x_ = y_ * rhs.z_ - z_ * rhs.y_; in Cross()
721 ret.y_ = z_ * rhs.x_ - x_ * rhs.z_; in Cross()
722 ret.z_ = x_ * rhs.y_ - y_ * rhs.x_; in Cross()
728 if( isnan( x_ ) || isnan( y_ ) || isnan( z_ ) || isnan( w_ ) ) in Validate()
736 fY = y_; in Value()
964 float x_, y_, z_, w_;
974 y_ = 0.f; in Quaternion()
982 y_ = fY; in Quaternion()
990 y_ = vec.y_; in Quaternion()
998 y_ = *p++; in Quaternion()
1006 ret.x_ = x_ * rhs.w_ + y_ * rhs.z_ - z_ * rhs.y_ + w_ * rhs.x_;
1007 ret.y_ = -x_ * rhs.z_ + y_ * rhs.w_ + z_ * rhs.x_ + w_ * rhs.y_;
1008 ret.z_ = x_ * rhs.y_ - y_ * rhs.x_ + z_ * rhs.w_ + w_ * rhs.z_;
1009 ret.w_ = -x_ * rhs.x_ - y_ * rhs.y_ - z_ * rhs.z_ + w_ * rhs.w_;
1016 ret.x_ = x_ * rhs.w_ + y_ * rhs.z_ - z_ * rhs.y_ + w_ * rhs.x_;
1017 ret.y_ = -x_ * rhs.z_ + y_ * rhs.w_ + z_ * rhs.x_ + w_ * rhs.y_;
1018 ret.z_ = x_ * rhs.y_ - y_ * rhs.x_ + z_ * rhs.w_ + w_ * rhs.z_;
1019 ret.w_ = -x_ * rhs.x_ - y_ * rhs.y_ - z_ * rhs.z_ + w_ * rhs.w_;
1027 y_ = -y_; in Conjugate()
1037 ret.y_ = -y_; in Conjugated()
1046 float y2 = y_ * y_ * 2.0f; in ToMatrix()
1048 float xy = x_ * y_ * 2.0f; in ToMatrix()
1049 float yz = y_ * z_ * 2.0f; in ToMatrix()
1052 float yw = y_ * w_ * 2.0f; in ToMatrix()
1072 float y2 = y_ * y_ * 2.0f; in ToMatrixPreserveTranslate()
1074 float xy = x_ * y_ * 2.0f; in ToMatrixPreserveTranslate()
1075 float yz = y_ * z_ * 2.0f; in ToMatrixPreserveTranslate()
1078 float yw = y_ * w_ * 2.0f; in ToMatrixPreserveTranslate()
1100 ret.y_ = s * axis.y_; in RotationAxis()
1109 fY = y_; in Value()