Skip to content

Commit 0c1d8b9

Browse files
committed
Improve index
1 parent d14107f commit 0c1d8b9

36 files changed

Lines changed: 655 additions & 245 deletions

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ main
2525
# Temporary files
2626
*.tmp
2727
tmp.*
28+
tmp
2829

2930
core
3031
core.*

‎README.md‎

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,38 +22,40 @@ C and C++ minimal examples. Asserts used wherever possible. Cheatsheets, tutoria
2222
1. [C++ from C](cpp-from-c/)
2323
1. [Fortran from C](fortran-from-c/)
2424
1. [SWIG](swig.md)
25-
1. Profiling
26-
1. [gprof](gprof.md)
27-
1. [Valgrind](valgrind.md)
28-
1. [perf](perf.md)
25+
1. [Build systems](build-systems.md)
26+
1. [CMake](cmake.md)
2927
1. Analysis tools
3028
1. [GDB](gdb/)
3129
1. [cflow](cflow.md)
30+
1. [Linting tools](linting-tools.md)
31+
1. [Frama-C](frama-c/)
32+
1. Profiling
33+
1. [gprof](gprof.md)
34+
1. [Valgrind](valgrind.md)
35+
1. [perf](perf.md)
36+
1. Parsing
37+
1. [Flex and Bison](flex-bison/)
3238
1. Media
3339
1. [FFmpeg](ffmpeg/)
34-
1. [v4l2](v4l2/)
3540
1. [libpng](png/)
36-
1. [Linting tools](linting-tools.md)
37-
1. [Frama-C](frama-c/)
38-
1. [Boost](boost/)
39-
1. [Build systems](build-systems.md)
40-
1. [CMake](cmake.md)
41-
1. [Flex and Bison](flex-bison/)
42-
1. [glibc](glibc/)
43-
1. [hello_world_cpp.cpp](hello_world_cpp.cpp)
41+
1. [v4l2](v4l2/)
42+
1. Utility libraries
43+
1. [Boost](boost/)
44+
1. [glibc](glibc/)
4445
1. GUI
4546
1. [GTK](gtk/)
46-
1. [Qt](qt/)
47-
1. [X11](x11)
4847
1. [Open GL](opengl/)
48+
1. [Qt](qt/)
4949
1. [SDL](sdl/)
50+
1. [X11](x11)
5051
1. Scientific
52+
1. [Bullet physics](bullet/)
5153
1. [Fortran](fortran/)
5254
1. [GSL](gsl/)
5355
1. [LAPACK](lapack/)
56+
1. [OpenCL](opencl/)
5457
1. [OpenCV](opencv/)
5558
1. [PLplot](plplot/)
56-
1. [Bullet physics](bullet/)
5759
1. [CONTRIBUTING](CONTRIBUTING.md)
5860
1. [TODO](TODO.md)
5961
1. [Bibliography](bibliography.md)

‎bullet/README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ Tested on Bullet 2.83.
1111
1. Examples
1212
1. [Gravity](gravity.cpp)
1313
1. [Drop object](drop_object.cpp)
14-
1. [gnuplot-run](gnuplot-run)
14+
1. Tools
15+
1. [gnuplot-run](gnuplot-run)
16+
1. [Bibliography](gnuplot-run)
1517
1. [TODO](TODO.md)

‎bullet/TODO.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@
77
- Voronoi: https://www.youtube.com/watch?v=FIPu9_OGFgc
88
- substeps vs smaller time step on stepSimulation?
99
- opengl visualization
10+
- rendering is done from <https://github.com/bulletphysics/bullet3/blob/2.83/examples/ExampleBrowser/GL_ShapeDrawer.cpp> in immediate mode
11+
- TODO what happens then?
12+
- from <https://github.com/bulletphysics/bullet3/blob/2.83/examples/ExampleBrowser/OpenGLGuiHelper.cpp#L447> renderScene
13+
- `m_guiHelper` is set called from OpenGLExampleBrowser to a OpenGLGuiHelper
14+
- CommonRigidBodyBase::renderScene() calls `m_guiHelper->render(m_dynamicsWorld);`
15+
- `BasicExample:: CommonRigidBodyBase::renderScene();` calls `CommonRigidBodyBase::renderScene();`
16+
- colors just alternate between 4 values: <https://github.com/bulletphysics/bullet3/blob/2.83/examples/ExampleBrowser/OpenGLGuiHelper.cpp#L117>
1017
- user input
1118
- 2D
1219
- http://gamedev.stackexchange.com/questions/22319/how-to-disable-y-axis-movement-in-the-bullet-physics-engine
1320
- http://gamedev.stackexchange.com/questions/6130/is-it-worth-it-to-use-bullet-for-2d-physics-instead-of-box2d-for-the-sake-of-lea
21+
- an SDL demo with mouse drag generating forces proportional to initial drag point distance on object would be easy and neat to do

‎bullet/alternatives.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Open source:
66

7-
- ODE
7+
- ODE <http://stackoverflow.com/questions/27385970/clearing-the-quickfix-list-in-vim>
88
- Newton
99

1010
Proprietary:
@@ -22,6 +22,7 @@ Proprietary:
2222
2D:
2323

2424
- Box2D
25+
- <http://brm.io/matter-js/> JavaScript on browser
2526

2627
## Fluids
2728

‎bullet/bibliography.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Bibliography
2+
3+
Forums:
4+
5+
- <http://www.bulletphysics.org/Bullet/phpBB3> , gets more replies than Stack Overflow... lol newbs.
6+
- <http://meta.stackoverflow.com/questions/290014/merging-bullet-and-bulletphysics-tags>
7+
8+
Demos without source code:
9+
10+
- Moby Motion - KEVA Planks - Bullet Physics (HD) <https://www.youtube.com/watch?v=-6Sl5CCxp3Q> , tower destruction contraptions.
11+
- yonarw - (my) openGL engine + Bullet physics - <https://www.youtube.com/watch?v=INmMohKp7KY> , dynamic shadows

‎bullet/source-tree.md‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,3 @@ Code style is horrible. Whitespaces everywhere. Game programmers ;-)
55
- examples
66
- <https://github.com/bulletphysics/bullet3/blob/2.83/examples/ExampleBrowser/ExampleEntries.cpp>: tree of examples that appears in the browser
77
- <https://github.com/bulletphysics/bullet3/blob/2.83/examples/BasicDemo/BasicExample.cpp>: tree of examples that appears in the browser
8-
- rendering is done from <https://github.com/bulletphysics/bullet3/blob/2.83/examples/ExampleBrowser/GL_ShapeDrawer.cpp> in immediate mode
9-
- that is called from <https://github.com/bulletphysics/bullet3/blob/2.83/examples/ExampleBrowser/OpenGLGuiHelper.cpp#L447>
10-
- colors alternate between 4 options: <https://github.com/bulletphysics/bullet3/blob/2.83/examples/ExampleBrowser/OpenGLGuiHelper.cpp#L117>

‎c-vs-cpp.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,4 @@ Some examples:
5353

5454
- `static struct` definitions deprecated: <http://stackoverflow.com/questions/7259830/why-and-when-to-use-static-structures-in-c-programming>
5555
- char literals `a` are... chars, not int: <http://stackoverflow.com/questions/433895/why-are-c-character-literals-ints-instead-of-chars>
56+
- implicit `void *` casts are OK in C, but not in C++: <http://stackoverflow.com/questions/605845/do-i-cast-the-result-of-malloc>

‎c/Makefile_params‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
CFLAGS_EXTRA := \
22
-DIMPLEMENTATION_SIGNAL \
3-
-DUNDEFINED_BEHAVIOUR \
43
-trigraphs \
54
-Wno-comment \
65
-Wno-ignored-qualifiers \
@@ -15,3 +14,4 @@ CFLAGS_EXTRA := \
1514
-Wno-unused-local-typedefs \
1615
-Wno-unused-value \
1716
-Wno-unused-variable
17+
#-DUNDEFINED_BEHAVIOUR \

‎c/README.md‎

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
1. [struct operators](struct_operators.c)
4141
1. [struct designated initializer](struct_designated_initializer.c)
4242
1. [Bitfield](bitfield.c)
43+
1. [Flexible array member](flexible_array_member.c)
4344
1. [union](union.c)
4445
1. [Literals](literals.c)
4546
1. [Compound struct literal](compound_struct_literal.c)
@@ -58,17 +59,21 @@
5859
1. [switch](switch.c)
5960
1. [goto](goto.c)
6061
1. [Function](function.c)
61-
1. [Function pointer](function_pointer.c)
62-
1. [No return non-void](no_return_non_void.c)
63-
1. [inline](inline.c)
64-
1. [void parameter](void_parameter.c)
65-
1. [Parameter without name](parameter_without_name.c)
66-
1. [Static array argument](static_array_argument.c)
67-
1. [_Noreturn](noreturn.c)
68-
1. [Identifier list](identifier_list.c)
62+
1. [Function pointer](function_pointer.c)
63+
1. [inline](inline.c)
64+
1. Parameters
65+
1. [Identifier list](identifier_list.c)
66+
1. [Identifier list](identifier_list.c)
67+
1. [Parameter without name](parameter_without_name.c)
68+
1. [Static array argument](static_array_argument.c)
69+
1. [void parameter](void_parameter.c)
70+
1. return
71+
1. [No return non-void](no_return_non_void.c)
72+
1. [_Noreturn](noreturn.c)
6973
1. [Operator](operator.c)
7074
1. [sizeof()](sizeof.c)
7175
1. [Sequence point](sequence_point.c)
76+
1. [Lexer](lexer.c)
7277
1. Preprocessor
7378
1. [Comments](comments.c)
7479
1. [Preprocessor inside C](preprocessor.c)
@@ -111,6 +116,7 @@
111116
1. Applications
112117
1. [Design patterns](design_patterns.c)
113118
1. [Polymorphism](polymorphism.c)
119+
1. [C++ templates](template_cpp.c)
114120
1. [String to int](string_to_int.c)
115121
1. [User input](interactive/user_input.c.off)
116122
1. [Virtual memory](virtual_memory.c)

0 commit comments

Comments
 (0)