MCPcopy Create free account
hub / github.com/chrxh/alien / applyForce_async

Method applyForce_async

source/EngineImpl/EngineWorker.cpp:380–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378}
379
380void EngineWorker::applyForce_async(
381 RealVector2D const& start,
382 RealVector2D const& end,
383 RealVector2D const& force,
384 float radius)
385{
386 std::unique_lock<std::mutex> uniqueLock(_mutexForAsyncJobs);
387 _applyForceJobs.emplace_back(ApplyForceJob{start, end, force, radius});
388}
389
390void EngineWorker::switchSelection(RealVector2D const& pos, float radius)
391{

Callers 1

onApplyForcesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected