Lines Matching refs:near
276 void Matrix4x4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { in loadOrtho() argument
280 m[10]= -2.f / (far - near); in loadOrtho()
283 m[14]= -(far + near) / (far - near); in loadOrtho()
286 void Matrix4x4::loadFrustum(float left, float right, float bottom, float top, float near, float far… in loadFrustum() argument
288 m[0] = 2.f * near / (right - left); in loadFrustum()
289 m[5] = 2.f * near / (top - bottom); in loadFrustum()
292 m[10]= -(far + near) / (far - near); in loadFrustum()
294 m[14]= -2.f * far * near / (far - near); in loadFrustum()
298 void Matrix4x4::loadPerspective(float fovy, float aspect, float near, float far) { in loadPerspective() argument
299 float top = near * tan((float) (fovy * M_PI / 360.0f)); in loadPerspective()
303 loadFrustum(left, right, bottom, top, near, far); in loadPerspective()