mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
small fix in libvecn.cpp
This commit is contained in:
parent
ae62494dd2
commit
48f5926f1d
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ static int l_dot(lua::State* L) {
|
|||
if (argc == 2) {
|
||||
const auto& a = lua::tovec<n>(L, 1);
|
||||
const auto& b = lua::tovec<n>(L, 2);
|
||||
return lua::pushnumber(L, glm::dot(a, b));;
|
||||
return lua::pushnumber(L, glm::dot(a, b));
|
||||
} else if (argc == 3) {
|
||||
const auto& a = lua::tovec<n>(L, 1);
|
||||
const auto& b = lua::tovec<n>(L, 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue