mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 20:57:09 +02:00
clean up from headotomy
This commit is contained in:
parent
2d12b9b800
commit
b2d5bfab2b
1 changed files with 3 additions and 17 deletions
|
@ -92,29 +92,15 @@ void Head::initialize() {
|
|||
noise = 0;
|
||||
returnSpringScale = 1.0;
|
||||
sphere = NULL;
|
||||
|
||||
/*
|
||||
if (iris_texture.size() == 0) {
|
||||
switchToResourcesParentIfRequired();
|
||||
unsigned error = lodepng::decode(iris_texture, iris_texture_width, iris_texture_height, iris_texture_file);
|
||||
if (error != 0) {
|
||||
printLog("error %u: %s\n", error, lodepng_error_text(error));
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
void Head::setPositionRotationAndScale(glm::vec3 p, glm::vec3 r, float s) {
|
||||
|
||||
position = p;
|
||||
//rotation = r;
|
||||
scale = s;
|
||||
|
||||
yaw = r.x;
|
||||
pitch = r.y;
|
||||
roll = r.z;
|
||||
|
||||
|
||||
yaw = r.x;
|
||||
pitch = r.y;
|
||||
roll = r.z;
|
||||
}
|
||||
|
||||
void Head::setSkinColor(glm::vec3 c) {
|
||||
|
|
Loading…
Reference in a new issue