Browse Source

Update pocketpy.h

blueloveTH 2 years ago
parent
commit
8fe2d4e54e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/pocketpy.h

+ 1 - 0
src/pocketpy.h

@@ -1053,6 +1053,7 @@ inline void VM::post_init(){
         add_module_requests(this);
         add_module_requests(this);
     }
     }
 
 
+    PyVec2::register_class(this, builtins);
     PyMat3x3::register_class(this, builtins);
     PyMat3x3::register_class(this, builtins);
 #endif
 #endif
 }
 }