Exemple #1
0
static int l_uc_addatomglobal(lua_State* L)
{
	UnitCell* uc = lua_tounitcell(L, 1);
	if(!uc) return 0;
	
	Atom* a = lua_toatom(L, 2);
	if(!a) return 0;
	
	uc->addAtomGlobalCoorinates(a);
	return 0;
}