| 181 | } |
| 182 | |
| 183 | void AudioGameObject::RenderDebugInfo( ITr2DebugRenderer2& renderer ) |
| 184 | { |
| 185 | if( renderer.HasOption( GetRawRoot(), "Audio Speaker" ) ) |
| 186 | { |
| 187 | Matrix rotationMatrix = RotationMatrix( m_rotation ); |
| 188 | Vector3 orientation = rotationMatrix.GetZ(); // Z-axis is typically the forward direction |
| 189 | renderer.DrawAudioSpeaker( this, m_worldTransform, 30, 5, Tr2DebugRenderer::Wireframe, 0xffff00ff ); |
| 190 | } |
| 191 | |
| 192 | if( ITr2DebugRenderablePtr tmp = BlueCastPtr( m_audioEmitter ) ) |
| 193 | { |
| 194 | tmp->RenderDebugInfo( renderer ); |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | bool AudioGameObject::OnModified( Be::Var* val ) |
| 199 | { |
nothing calls this directly
no test coverage detected