mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-07-30 02:30:07 +02:00
Fix position allocator
This commit is contained in:
parent
166a920fca
commit
95bc153b1b
5 changed files with 66 additions and 16 deletions
|
@ -46,7 +46,7 @@ LeoCircularOrbitAllocator::AssignStreams (int64_t stream)
|
|||
Vector
|
||||
LeoCircularOrbitAllocator::GetNext () const
|
||||
{
|
||||
Vector next = Vector (M_PI * (m_lastOrbit / (double) m_numOrbits),
|
||||
Vector next = Vector (2 * M_PI * (m_lastOrbit / (double) m_numOrbits),
|
||||
2 * M_PI * (m_lastSatellite / (double) m_numSatellites),
|
||||
0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue