hacks to see stuff
This commit is contained in:
@@ -84,7 +84,7 @@ private:
|
||||
double angle = 0;
|
||||
double scale = 1;
|
||||
double altitude = 1.5;
|
||||
double pitch = 0;
|
||||
double pitch = 0.001;
|
||||
|
||||
// cache values for spherical mercator math
|
||||
double Bc = (scale * util::tileSize) / 360;
|
||||
|
||||
@@ -117,7 +117,7 @@ struct DepthTest {
|
||||
static const Type Default;
|
||||
inline static void Set(const Type& value) {
|
||||
MBGL_CHECK_ERROR(value ? glEnable(GL_DEPTH_TEST) : glDisable(GL_DEPTH_TEST));
|
||||
MBGL_CHECK_ERROR(glDisable(GL_DEPTH_TEST));
|
||||
//MBGL_CHECK_ERROR(glDisable(GL_DEPTH_TEST));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -4,4 +4,5 @@ uniform mat4 u_matrix;
|
||||
|
||||
void main() {
|
||||
gl_Position = u_matrix * vec4(a_pos, 0, 1);
|
||||
gl_Position.z = 1.0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user