From 04df95593e97220a62879acd1b9fa71461f2222d Mon Sep 17 00:00:00 2001 From: siney Date: Tue, 24 Nov 2015 12:05:35 +0800 Subject: [PATCH] Update LuaValueType.cs --- Assets/Slua/Script/LuaValueType.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Slua/Script/LuaValueType.cs b/Assets/Slua/Script/LuaValueType.cs index 51e47f8b..14d79d8c 100644 --- a/Assets/Slua/Script/LuaValueType.cs +++ b/Assets/Slua/Script/LuaValueType.cs @@ -278,7 +278,7 @@ function Vector3.Div(self,b) end function Vector3.Angle(a,b) - local dot = Dot(Vector3.Normalize(a), Vector3.Normalize(b)) + local dot = Vector3.Dot(Vector3.Normalize(a), Vector3.Normalize(b)) return acos(dot)*ToAngle end