Lines Matching refs:rhs

236 void matrixx_t::load(const matrixf_t& rhs) {
238 GLfloat const* fp = rhs.elements();
252 void matrixf_t::multiply(matrixf_t& r, const matrixf_t& lhs, const matrixf_t& rhs)
256 register const float rhs_i0 = rhs.m[ I(i,0) ];
262 register const float rhs_ij = rhs.m[ I(i,j) ];
287 void matrixf_t::set(const GLfixed* rhs) {
288 load(rhs);
291 void matrixf_t::set(const GLfloat* rhs) {
292 load(rhs);
295 void matrixf_t::load(const GLfixed* rhs) {
299 *fp++ = fixedToFloat(*rhs++);
303 void matrixf_t::load(const GLfloat* rhs) {
304 memcpy(m, rhs, sizeof(m));
307 void matrixf_t::load(const matrixf_t& rhs) {
308 operator = (rhs);
311 void matrixf_t::multiply(const matrixf_t& rhs) {
313 multiply(r, *this, rhs);
406 void matrix_stack_t::load(const GLfixed* rhs)
408 memcpy(transform.matrix.m, rhs, sizeof(transform.matrix.m));
409 stack[depth].load(rhs);
413 void matrix_stack_t::load(const GLfloat* rhs)
415 stack[depth].load(rhs);
419 void matrix_stack_t::multiply(const matrixf_t& rhs)
421 stack[depth].multiply(rhs);
724 void point2__generic(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) {
726 const GLfixed rx = rhs->x;
727 const GLfixed ry = rhs->y;
734 void point3__generic(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) {
736 const GLfixed rx = rhs->x;
737 const GLfixed ry = rhs->y;
738 const GLfixed rz = rhs->z;
745 void point4__generic(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) {
747 const GLfixed rx = rhs->x;
748 const GLfixed ry = rhs->y;
749 const GLfixed rz = rhs->z;
750 const GLfixed rw = rhs->w;
757 void point3__mvui(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) {
762 const GLfixed rx = rhs->x;
763 const GLfixed ry = rhs->y;
764 const GLfixed rz = rhs->z;
771 void point4__mvui(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) {
776 const GLfixed rx = rhs->x;
777 const GLfixed ry = rhs->y;
778 const GLfixed rz = rhs->z;
779 const GLfixed rw = rhs->w;
786 void point2__nop(transform_t const*, vec4_t* lhs, vec4_t const* rhs) {
789 if (lhs != rhs) {
790 lhs->x = rhs->x;
791 lhs->y = rhs->y;
795 void point3__nop(transform_t const*, vec4_t* lhs, vec4_t const* rhs) {
797 if (lhs != rhs) {
798 lhs->x = rhs->x;
799 lhs->y = rhs->y;
800 lhs->z = rhs->z;
804 void point4__nop(transform_t const*, vec4_t* lhs, vec4_t const* rhs) {
805 if (lhs != rhs)
806 *lhs = *rhs;
846 matrixf_t rhs;
847 rhs.set(f);
848 c->transforms.current->multiply(rhs);
885 matrixf_t rhs;
886 rhs.set(f);
887 c->transforms.current->multiply(rhs);
957 matrixf_t rhs;
958 rhs.set(m);
959 c->transforms.current->multiply(rhs);
966 matrixf_t rhs;
967 rhs.set(m);
968 c->transforms.current->multiply(rhs);