This commit is contained in:
blueloveTH 2024-05-13 22:46:26 +08:00
parent b8a2ad9652
commit 979364f274

View File

@ -34,6 +34,8 @@ namespace pkpy{
Vec##D self = _CAST(Vec##D, _0); \
if(vm->is_user_type<Vec##D>(_1)){ \
Vec##D other = _CAST(Vec##D, _1); \
std::cout << self.x << ',' << self.y << '\n';\
std::cout << other.x << ',' << other.y << '\n';\
return VAR(self * other); \
} \
f64 other = CAST(f64, _1); \