ive got a class called TRGLPhysicsObject (class of TObject) and a pointer to that class, whats faster (or whats best)...
orCode:var LPhysicsObject: TRGLPhysicsObject; LPointer: Pointer; Begin LPhysicsObject := LPointer; LPhysicsObject.bla := 123;
just wondering because a callback went horribly wrong then i changed a few things and now it works fineCode:var LPointer: Pointer; Begin TRGLPhysicsObject(LPointer).bla := 123;
Bookmarks