C++Tutorial for Beginners 69 - Creating an Explosion

preview_player
Показать описание
-------------------------------------------------------------------------------------------------------------------------------------------
In this tutorial we'll get our particles to explode outwards from a point, creating a rather beautiful particle explosion. We'll have to get into some slightly tricky particle space to screen space mapping, not to mention using a couple of trig functions, but it'll be worth it.
--------------------------------------------------------------------------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

Interesting, in VS 2015 community, I had to define _USE_MATH_DEFINES before including math.h for M_PI etc.

FreeER
Автор

Why are textures and renders separate things? Why not just put all the pixel data straight into a buffer and then render it?

stendall