Raycast: export exact pointing location (#6304)
* Return intersection point in node coordinates. * Clarify 'intersection_point' documentation
This commit is contained in:
committed by
SmallJoker
parent
798724efea
commit
325bf68041
@@ -255,10 +255,10 @@ bool ScriptApiItem::getItemCallback(const char *name, const char *callbackname,
|
||||
return false;
|
||||
}
|
||||
|
||||
void ScriptApiItem::pushPointedThing(const PointedThing& pointed)
|
||||
void ScriptApiItem::pushPointedThing(const PointedThing &pointed, bool hitpoint)
|
||||
{
|
||||
lua_State* L = getStack();
|
||||
|
||||
push_pointed_thing(L, pointed);
|
||||
push_pointed_thing(L, pointed, false, hitpoint);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user