Working on audio in web part 1
This commit is contained in:
1 parent
3778a603f2
commit
b6e0422d71
9 files changed
+65
-13
No files matched your search
@@ -12,7 +12,7 @@ namespace ZL {
|
||||
|
||||
void InteractiveObject::draw(Renderer& renderer) const {
|
||||
if (!isActive || !texture) return;
|
||||
|
||||
/*
|
||||
std::cout << "[DRAW] InteractiveObject::draw() called" << std::endl;
|
||||
std::cout << "[DRAW] Object: " << name << std::endl;
|
||||
std::cout << "[DRAW] Position: (" << position.x() << ", " << position.y() << ", " << position.z() << ")" << std::endl;
|
||||
@@ -22,7 +22,7 @@ namespace ZL {
|
||||
std::cout << "[DRAW] First vertex: (" << mesh.data.PositionData[0].x() << ", "
|
||||
<< mesh.data.PositionData[0].y() << ", " << mesh.data.PositionData[0].z() << ")" << std::endl;
|
||||
}
|
||||
|
||||
*/
|
||||
// Apply position transformation
|
||||
renderer.PushMatrix();
|
||||
renderer.TranslateMatrix(position);
|
||||
|
||||
Reference in new issue
Block a user