mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 14:49:19 +02:00
reformat: remove redundant parentheses
This commit is contained in:
@@ -30,9 +30,9 @@ struct semaphore : public map_object
|
||||
TMemCell *memcell = nullptr;
|
||||
|
||||
virtual gfx::basic_vertex vertex() override {
|
||||
const bool stop_signal = memcell->IsVelocity() && (memcell->Value1() == 0.0);
|
||||
const bool stop_signal = memcell->IsVelocity() && memcell->Value1() == 0.0;
|
||||
return gfx::basic_vertex(location, glm::vec3(),
|
||||
(!stop_signal) ? glm::vec2(0.0f, 0.2f) : glm::vec2(0.2f, 0.4f));
|
||||
!stop_signal ? glm::vec2(0.0f, 0.2f) : glm::vec2(0.2f, 0.4f));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user