Ignore:
Timestamp:
Jun 7, 2012, 1:38:10 PM (11 years ago)
Author:
sam
Message:

orbital: some improvements to the mesh parser and error reporting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/orbital/starfield.h

    r1434 r1442  
    1919    {
    2020        if (z == 1.f)
    21             m_mesh.SendCommand("sc#fff scb#fff0 ad4 1.8 1");
     21            m_mesh.Compile("sc#fff scb#fff0 ad4 1.8 1");
    2222        else
    23             m_mesh.SendCommand("sc#fff scb#fff0 ad3 0.8 1");
     23            m_mesh.Compile("sc#fff scb#fff0 ad3 0.8 1");
    2424
    2525        for (int i = 0; i < count; i++)
     
    5858        if (!m_ready)
    5959        {
    60             m_mesh.SendCommand("irb");
     60            m_mesh.MeshConvert();
    6161            m_ready = true;
    6262        }
Note: See TracChangeset for help on using the changeset viewer.