mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:00:06 +00:00
General GCC compilation fixes
This commit is contained in:
parent
c7aba95233
commit
023688b746
19 changed files with 57 additions and 53 deletions
|
|
@ -255,8 +255,8 @@ void GeoLine::Impl::Update()
|
|||
const float ty = points_[1].longitude_;
|
||||
|
||||
// Offset x/y in pixels
|
||||
const float ox = width_ * 0.5f * std::cosf(angle_);
|
||||
const float oy = width_ * 0.5f * std::sinf(angle_);
|
||||
const float ox = width_ * 0.5f * cosf(angle_);
|
||||
const float oy = width_ * 0.5f * sinf(angle_);
|
||||
|
||||
// Texture coordinates
|
||||
const float ls = texture_.sLeft_;
|
||||
|
|
|
|||
|
|
@ -35,8 +35,8 @@ public:
|
|||
z_ {0.0f},
|
||||
width_ {0.0f},
|
||||
height_ {0.0f},
|
||||
borderColor_ {0, 0, 0, 0},
|
||||
borderWidth_ {0.0f},
|
||||
borderColor_ {0, 0, 0, 0},
|
||||
fillColor_ {std::nullopt},
|
||||
shaderProgram_ {nullptr},
|
||||
uMVPMatrixLocation_(GL_INVALID_INDEX),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue