Changeset 1372


Ignore:
Timestamp:
May 12, 2012, 2:16:42 PM (7 years ago)
Author:
sam
Message:

orbital: better snake initialisation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/orbital/snake.h

    r1370 r1372  
    3939        /* The last node is actually the tail */
    4040        for (int i = 0; i < nodes; i++)
    41             m_nodes.Push(vec3(0.f, 0.f, 0.f), 0.f);
     41            m_nodes.Push(m_rotation.transform(vec3(-12.f, 0.f, 0.f)), 0.f);
    4242        m_nodes.Push(vec3(0.f, 0.f, 0.f), 45.f);
    4343    }
Note: See TracChangeset for help on using the changeset viewer.