Home | History | Annotate | Download | only in ndk_helper

Lines Matching refs:f_

749     float f_[16];
767 ret.f_[i] = f_[i] + rhs.f_[i];
777 ret.f_[i] = f_[i] - rhs.f_[i];
786 f_[i] += rhs.f_[i];
795 f_[i] -= rhs.f_[i];
803 ret.f_[0] = f_[0] * rhs.f_[0] + f_[4] * rhs.f_[1] + f_[8] * rhs.f_[2]
804 + f_[12] * rhs.f_[3];
805 ret.f_[1] = f_[1] * rhs.f_[0] + f_[5] * rhs.f_[1] + f_[9] * rhs.f_[2]
806 + f_[13] * rhs.f_[3];
807 ret.f_[2] = f_[2] * rhs.f_[0] + f_[6] * rhs.f_[1] + f_[10] * rhs.f_[2]
808 + f_[14] * rhs.f_[3];
809 ret.f_[3] = f_[3] * rhs.f_[0] + f_[7] * rhs.f_[1] + f_[11] * rhs.f_[2]
810 + f_[15] * rhs.f_[3];
812 ret.f_[4] = f_[0] * rhs.f_[4] + f_[4] * rhs.f_[5] + f_[8] * rhs.f_[6]
813 + f_[12] * rhs.f_[7];
814 ret.f_[5] = f_[1] * rhs.f_[4] + f_[5] * rhs.f_[5] + f_[9] * rhs.f_[6]
815 + f_[13] * rhs.f_[7];
816 ret.f_[6] = f_[2] * rhs.f_[4] + f_[6] * rhs.f_[5] + f_[10] * rhs.f_[6]
817 + f_[14] * rhs.f_[7];
818 ret.f_[7] = f_[3] * rhs.f_[4] + f_[7] * rhs.f_[5] + f_[11] * rhs.f_[6]
819 + f_[15] * rhs.f_[7];
821 ret.f_[8] = f_[0] * rhs.f_[8] + f_[4] * rhs.f_[9] + f_[8] * rhs.f_[10]
822 + f_[12] * rhs.f_[11];
823 f_[9] = f_[1] * rhs.f_[8] + f_[5] * rhs.f_[9] + f_[9] * rhs.f_[10]
824 + f_[13] * rhs.f_[11];
825 ret.f_[10] = f_[2] * rhs.f_[8] + f_[6] * rhs.f_[9] + f_[10] * rhs.f_[10]
826 + f_[14] * rhs.f_[11];
827 ret.f_[11] = f_[3] * rhs.f_[8] + f_[7] * rhs.f_[9] + f_[11] * rhs.f_[10]
828 + f_[15] * rhs.f_[11];
830 ret.f_[12] = f_[0] * rhs.f_[12] + f_[4] * rhs.f_[13] + f_[8] * rhs.f_[14]
831 + f_[12] * rhs.f_[15];
832 ret.f_[13] = f_[1] * rhs.f_[12] + f_[5] * rhs.f_[13] + f_[9] * rhs.f_[14]
833 + f_[13] * rhs.f_[15];
834 ret.f_[14] = f_[2] * rhs.f_[12] + f_[6] * rhs.f_[13] + f_[10] * rhs.f_[14]
835 + f_[14] * rhs.f_[15];
836 ret.f_[15] = f_[3] * rhs.f_[12] + f_[7] * rhs.f_[13] + f_[11] * rhs.f_[14]
837 + f_[15] * rhs.f_[15];
848 ret.f_[i] = f_[i] * rhs;
857 f_[i] *= rhs;
866 f_[i] = rhs.f_[i];
876 ret.f_[0] = f_[0];
877 ret.f_[1] = f_[4];
878 ret.f_[2] = f_[8];
879 ret.f_[3] = f_[12];
880 ret.f_[4] = f_[1];
881 ret.f_[5] = f_[5];
882 ret.f_[6] = f_[9];
883 ret.f_[7] = f_[13];
884 ret.f_[8] = f_[2];
885 ret.f_[9] = f_[6];
886 ret.f_[10] = f_[10];
887 ret.f_[11] = f_[14];
888 ret.f_[12] = f_[3];
889 ret.f_[13] = f_[7];
890 ret.f_[14] = f_[11];
891 ret.f_[15] = f_[15];
898 f_[12] += (tx * f_[0]) + (ty * f_[4]) + (tz * f_[8]);
899 f_[13] += (tx * f_[1]) + (ty * f_[5]) + (tz * f_[9]);
900 f_[14] += (tx * f_[2]) + (ty * f_[6]) + (tz * f_[10]);
901 f_[15] += (tx * f_[3]) + (ty * f_[7]) + (tz * f_[11]);
907 return f_;
929 ret.f_[0] = 1.f;
930 ret.f_[1] = 0;
931 ret.f_[2] = 0;
932 ret.f_[3] = 0;
933 ret.f_[4] = 0;
934 ret.f_[5] = 1.f;
935 ret.f_[6] = 0;
936 ret.f_[7] = 0;
937 ret.f_[8] = 0;
938 ret.f_[9] = 0;
939 ret.f_[10] = 1.f;
940 ret.f_[11] = 0;
941 ret.f_[12] = 0;
942 ret.f_[13] = 0;
943 ret.f_[14] = 0;
944 ret.f_[15] = 1.f;
950 LOGI( "%f %f %f %f", f_[0], f_[1], f_[2], f_[3] );
951 LOGI( "%f %f %f %f", f_[4], f_[5], f_[6], f_[7] );
952 LOGI( "%f %f %f %f", f_[8], f_[9], f_[10], f_[11] );
953 LOGI( "%f %f %f %f", f_[12], f_[13], f_[14], f_[15] );
1055 mat.f_[0] = 1.0f - y2 - z2;
1056 mat.f_[1] = xy + zw;
1057 mat.f_[2] = zx - yw;
1058 mat.f_[4] = xy - zw;
1059 mat.f_[5] = 1.0f - z2 - x2;
1060 mat.f_[6] = yz + xw;
1061 mat.f_[8] = zx + yw;
1062 mat.f_[9] = yz - xw;
1063 mat.f_[10] = 1.0f - x2 - y2;
1065 mat.f_[3] = mat.f_[7] = mat.f_[11] = mat.f_[12] = mat.f_[13] = mat.f_[14] = 0.0f;
1066 mat.f_[15] = 1.0f;
1081 mat.f_[0] = 1.0f - y2 - z2;
1082 mat.f_[1] = xy + zw;
1083 mat.f_[2] = zx - yw;
1084 mat.f_[4] = xy - zw;
1085 mat.f_[5] = 1.0f - z2 - x2;
1086 mat.f_[6] = yz + xw;
1087 mat.f_[8] = zx + yw;
1088 mat.f_[9] = yz - xw;
1089 mat.f_[10] = 1.0f - x2 - y2;
1091 mat.f_[3] = mat.f_[7] = mat.f_[11] = 0.0f;
1092 mat.f_[15] = 1.0f;