| 134 | } |
| 135 | |
| 136 | void MagVisual::setAlpha(float alpha) |
| 137 | { |
| 138 | alpha_ = alpha; |
| 139 | if (heading_vector_) |
| 140 | heading_vector_->setColor(color_.redF(), color_.greenF(), |
| 141 | color_.blueF(), alpha_); |
| 142 | } |
| 143 | |
| 144 | void MagVisual::setFramePosition(const Ogre::Vector3& position) |
| 145 | { |