Lines Matching refs:halfPixel
810 const float halfPixel = 0.5f;
821 pixelBox.x() = (int)deFloatCeil(vertexBox.x()+halfPixel);
822 pixelBox.y() = (int)deFloatCeil(vertexBox.y()+halfPixel);
823 pixelBox.z() = (int)deFloatFloor(vertexBox.z()-halfPixel);
824 pixelBox.w() = (int)deFloatFloor(vertexBox.w()-halfPixel);
828 pixelBox.x() = (int)deFloatFloor(vertexBox.x()-halfPixel);
829 pixelBox.y() = (int)deFloatFloor(vertexBox.y()-halfPixel);
830 pixelBox.z() = (int)deFloatCeil(vertexBox.z()+halfPixel);
831 pixelBox.w() = (int)deFloatCeil(vertexBox.w()+halfPixel);