Lines Matching refs:result
321 Mat4 result; in Perspective() local
322 result.f_[0] = n2 / width; in Perspective()
323 result.f_[4] = 0; in Perspective()
324 result.f_[8] = 0; in Perspective()
325 result.f_[12] = 0; in Perspective()
326 result.f_[1] = 0; in Perspective()
327 result.f_[5] = n2 / height; in Perspective()
328 result.f_[9] = 0; in Perspective()
329 result.f_[13] = 0; in Perspective()
330 result.f_[2] = 0; in Perspective()
331 result.f_[6] = 0; in Perspective()
332 result.f_[10] = (farPlane + nearPlane) * rcpnmf; in Perspective()
333 result.f_[14] = farPlane * rcpnmf * n2; in Perspective()
334 result.f_[3] = 0; in Perspective()
335 result.f_[7] = 0; in Perspective()
336 result.f_[11] = -1.0; in Perspective()
337 result.f_[15] = 0; in Perspective()
339 return result; in Perspective()
345 Mat4 result; in LookAt() local
357 result.f_[0] = vec_side.x_; in LookAt()
358 result.f_[4] = vec_side.y_; in LookAt()
359 result.f_[8] = vec_side.z_; in LookAt()
360 result.f_[12] = 0; in LookAt()
361 result.f_[1] = vec_up_norm.x_; in LookAt()
362 result.f_[5] = vec_up_norm.y_; in LookAt()
363 result.f_[9] = vec_up_norm.z_; in LookAt()
364 result.f_[13] = 0; in LookAt()
365 result.f_[2] = vec_forward.x_; in LookAt()
366 result.f_[6] = vec_forward.y_; in LookAt()
367 result.f_[10] = vec_forward.z_; in LookAt()
368 result.f_[14] = 0; in LookAt()
369 result.f_[3] = 0; in LookAt()
370 result.f_[7] = 0; in LookAt()
371 result.f_[11] = 0; in LookAt()
372 result.f_[15] = 1.0; in LookAt()
374 result.PostTranslate( -vec_eye.x_, -vec_eye.y_, -vec_eye.z_ ); in LookAt()
375 return result; in LookAt()