Skip to content

Commit 5434ae1

Browse files
authored
Merge pull request #5057 from Joecheong2006/example-double-pendulum
[examples]: New example: `shapes_double_pendulum`
2 parents 7b017b6 + 10fadd9 commit 5434ae1

File tree

5 files changed

+294
-106
lines changed

5 files changed

+294
-106
lines changed

examples/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,8 @@ SHAPES = \
548548
shapes/shapes_rectangle_scaling \
549549
shapes/shapes_splines_drawing \
550550
shapes/shapes_top_down_lights \
551-
shapes/shapes_digital_clock
551+
shapes/shapes_digital_clock \
552+
shapes/shapes_double_pendulum
552553

553554
TEXTURES = \
554555
textures/textures_background_scrolling \

examples/Makefile.Web

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,8 @@ SHAPES = \
430430
shapes/shapes_rectangle_scaling \
431431
shapes/shapes_splines_drawing \
432432
shapes/shapes_top_down_lights \
433-
shapes/shapes_digital_clock
433+
shapes/shapes_digital_clock \
434+
shapes/shapes_double_pendulum
434435

435436
TEXTURES = \
436437
textures/textures_background_scrolling \
@@ -731,6 +732,9 @@ shapes/shapes_top_down_lights: shapes/shapes_top_down_lights.c
731732
shapes/shapes_rectangle_advanced: shapes/shapes_rectangle_advanced.c
732733
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM)
733734

735+
shapes/shapes_double_pendulum: shapes/shapes_double_pendulum.c
736+
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM)
737+
734738

735739
# Compile TEXTURES examples
736740
textures/textures_background_scrolling: textures/textures_background_scrolling.c

0 commit comments

Comments
 (0)