Fixed name

This commit is contained in:
Jordi Santonja Blanes 2025-10-13 08:41:27 +02:00
parent 9f4640dd97
commit b4795dcecd
3 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [shapes] example - particles
* raylib [shapes] example - simple particles
*
* Example complexity rating: [] 1/4
*
@ -256,7 +256,7 @@ static void UpdateParticles(CircularBuffer *circularBuffer, int screenWidth, int
static void UpdateCircularBuffer(CircularBuffer *circularBuffer)
{
// Update circular buffer: advance tail over dead particles
while (circularBuffer->tail != circularBuffer->head &&
while ((circularBuffer->tail != circularBuffer->head) &&
!circularBuffer->buffer[circularBuffer->tail].alive)
{
circularBuffer->tail = (circularBuffer->tail + 1)%MAX_PARTICLES;

View File

@ -53,9 +53,9 @@
<PropertyGroup Label="Globals">
<ProjectGuid>{497FDF54-9762-4048-A833-61CC3980A0FB}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>shapes_particles</RootNamespace>
<RootNamespace>shapes_simple_particles</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
<ProjectName>shapes_particles</ProjectName>
<ProjectName>shapes_simple_particles</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
@ -553,7 +553,7 @@
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\examples\shapes\shapes_particles.c" />
<ClCompile Include="..\..\..\examples\shapes\shapes_simple_particles.c" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\..\examples\examples.rc" />

View File

@ -371,7 +371,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "shapes_recursive_tree", "ex
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "shapes_triangle_strip", "examples\shapes_triangle_strip.vcxproj", "{2CCCD9E4-9058-4291-BD89-39C979F0CA1E}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "shapes_particles", "examples\shapes_particles.vcxproj", "{6B1A933E-71B8-4C1F-9E79-02D98830E671}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "shapes_simple_particles", "examples\shapes_simple_particles.vcxproj", "{6B1A933E-71B8-4C1F-9E79-02D98830E671}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution