/* * 2D Physic Engine * particules.cpp: * Based on pikuma.com Learn Game Physics Engine Programming course. * Copyright (c) 2022 986-Studio. All rights reserved. * * Created by Manoƫl Trapier on 07/06/2022. */ #include void particle::integrate(double dt) { this->velocity += this->acceleration * dt; this->position += this->velocity * dt; }