Skip to content

Commit

Permalink
PE: My bad spelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
plemsoft committed Jan 10, 2025
1 parent 201f523 commit 4270c30
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5835,7 +5835,7 @@ int QuatLERP(lua_State *L)
return 4;
}

int ScreenCordsToPercent(lua_State* L)
int ScreenCoordsToPercent(lua_State* L)
{
int n = lua_gettop(L);
if (n < 2) return 0;
Expand Down Expand Up @@ -12246,7 +12246,7 @@ void addFunctions()

lua_register(lua, "Convert3DTo2D", LuaConvert3DTo2D); // x,y = Convert3DTo2D(x,y,z)
lua_register(lua, "Convert2DTo3D", LuaConvert2DTo3D); // px,py,pz,dx,dy,dz = Convert2DTo3D(x percent,y percent) -- percent
lua_register(lua, "ScreenCordsToPercent", ScreenCordsToPercent); // percentx,percentx = ScreenCordsToPercent(x,y) -- return percent positions.
lua_register(lua, "ScreenCoordsToPercent", ScreenCoordsToPercent); // percentx,percentx = ScreenCordsToPercent(x,y) -- return percent positions.


// Lua control of dynamic light
Expand Down

0 comments on commit 4270c30

Please sign in to comment.