mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
commit
82f5e0a3b1
2 changed files with 3 additions and 2 deletions
|
@ -1667,7 +1667,8 @@ void Application::displaySide(Camera& whichCamera) {
|
|||
glPopMatrix();
|
||||
|
||||
//draw a grid ground plane....
|
||||
drawGroundPlaneGrid(10.f);
|
||||
const float EDGE_SIZE_GROUND_PLANE = 20.f;
|
||||
drawGroundPlaneGrid(EDGE_SIZE_GROUND_PLANE);
|
||||
|
||||
// Draw voxels
|
||||
if (_renderVoxels->isChecked()) {
|
||||
|
|
|
@ -229,7 +229,7 @@ void Head::renderMohawk(bool lookingInMirror) {
|
|||
glTranslatef(_position.x, _position.y, _position.z);
|
||||
glRotatef((lookingInMirror ? (_bodyRotation.y - _yaw) : (_bodyRotation.y + _yaw)), 0, 1, 0);
|
||||
glRotatef(lookingInMirror ? _roll: -_roll, 0, 0, 1);
|
||||
glRotatef(-_pitch, 1, 0, 0);
|
||||
glRotatef(-_pitch - _bodyRotation.x, 1, 0, 0);
|
||||
|
||||
glBegin(GL_TRIANGLE_FAN);
|
||||
for (int i = 0; i < MOHAWK_TRIANGLES; i++) {
|
||||
|
|
Loading…
Reference in a new issue