mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:24:07 +02:00
set injector orientation from bearing passed as command line argument
This commit is contained in:
parent
4b208e1678
commit
e07c55ec43
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ int main(int argc, char* argv[]) {
|
|||
agentList->startSilentAgentRemovalThread();
|
||||
|
||||
injector.setPosition(glm::vec3(::floatArguments[0], ::floatArguments[1], ::floatArguments[2]));
|
||||
injector.setBearing(*(::floatArguments + 3));
|
||||
injector.setOrientation(glm::quat(glm::vec3(0.0f, *(::floatArguments + 3), 0.0f)));
|
||||
injector.setVolume(::volume);
|
||||
|
||||
if (::radius > 0) {
|
||||
|
|
Loading…
Reference in a new issue