javascript - Loss of object prototypes in web worker -


i have algorithm lets users enter equations , graphs them in three.js surface. of data large ship work off web worker. worker solves equation , formats needed items show three.js model.

however, creating vertices , faces , setting color in web worker seems moot point because prototypes vertices, faces, , colors lost when data sent main program. means have re-loop through data in main algorithm reset prototypes.

is have live or there way keep object prototypes when passing them web worker?


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -