Ignore:
Timestamp:
10/03/16 17:45:46 (9 years ago)
Author:
epyon
Message:
  • ecs updates
  • animation updates
  • ragdoll manager
  • lua has own random engine
  • several minor fixes
  • particle engine/particle group
  • shitload of other stuff
  • bullet world
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lua/lua_math.cc

    r512 r520  
    88
    99#include "nv/lua/lua_raw.hh"
    10 #include "nv/core/random.hh"
     10#include "nv/lua/lua_aux.hh"
    1111#include "nv/stl/type_traits/common.hh"
    1212
     
    126126int nlua_vec_random( lua_State* L )
    127127{
    128         push_vec<T>( L, nv::random::get().range( to_vec<T>( L, 1 ), to_vec<T>( L, 2 ) ) );
     128        push_vec<T>( L, nv::lua::rng().range( to_vec<T>( L, 1 ), to_vec<T>( L, 2 ) ) );
    129129        return 1;
    130130}
Note: See TracChangeset for help on using the changeset viewer.