Lolbot
7e4da3d634
fixed 27 files out of 2315:
- removed 0 CR characters
- removed 188 trailing whitespaces
- replaced 537 tabs with spaces
13 лет назад
Benjamin ‘Touky’ Huet
1038fa7fbe
Small MeshCsg return FIX
13 лет назад
Benjamin ‘Touky’ Huet
4393a43752
Added CSG v0.001a : not optimized, too much operation makes it slow. triangle count is not optimized.
Useage : "...[.... csg*]" equals "current mesh -CSG- the mesh in the braces".
Keywords : CsgUnion<csgu>, CsgSubstract<csgs>, CsgAnd<csga>, CsgXor<csgx>
TODO : cleanup useless code.
TODO : Some bugs are still present, some face that disappear should not.
TODO : Correct epsilon useage (see geometry files).
TODO : Coplanar face are not handled -at all-.
TODO : Vertex count goes through the roof in case of a Xor.
13 лет назад
jeunathe
08e81c93d1
coding style my ass
13 лет назад
jeunathe
504f9a4ca2
Update EasyMesh.Convert() method.
Now takes an optional shader
13 лет назад
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
13 лет назад
Sam Hocevar
7fa661a2fd
easymesh: motherfucking planetary gears demo.
13 лет назад
Sam Hocevar
662148406f
easymesh: allow central holes in gears as well as internal gears.
13 лет назад
Benjamin ‘Touky’ Huet
924a2afbbe
the stupidest idea of the day : the cube light, specular still missing.
13 лет назад
Sam Hocevar
573c5053d9
easymesh: fix point light handling.
13 лет назад
Benjamin ‘Touky’ Huet
828734c3f2
"Point light" Tweak
13 лет назад
Benjamin ‘Touky’ Huet
8cde92fd2e
first commit in a while, small test in ShinyLol
13 лет назад
Benjamin ‘Touky’ Huet
ea517c2926
Added tsw (ToggleScaleWinding) command in EasyMesh Parser to make old-school celShading contour.
13 лет назад
Sam Hocevar
4a6d092a74
mesh: start working on mesh and submesh stuff.
13 лет назад
Sam Hocevar
ad00a34984
gpu: add support for triangle strips and fans, and change the DrawElement
calls so that they take a number of vertices or indexes, not elements.
13 лет назад
Lolbot
23807ea88e
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
13 лет назад
Sam Hocevar
caba2eb28f
easymesh: minor torus mesh tweaks.
13 лет назад
Sam Hocevar
38364a0bd6
easymesh: first shot at a simple, flat shaded torus.
13 лет назад
Cédric Lecacheur
4e7af3279c
optim radialJitter
13 лет назад
Cédric Lecacheur
82bb4cd6a3
EsayMesh : RadialJitter func & demo added
13 лет назад
Sam Hocevar
fdf946042a
easymesh: fix the non-uniform sphere scaling and enforce odd numbers
of capsule divisions.
13 лет назад
Sam Hocevar
aa6ce4c34d
easymesh: set the capsule's main axis to Y, not Z.
13 лет назад
Sam Hocevar
497df444cc
easymesh: add the capsule mesh.
13 лет назад
Sam Hocevar
b305986edb
easymesh: use an icosphere instead of an UV-sphere for the sphere primitive.
13 лет назад
Benjamin ‘Touky’ Huet
0ea021a40a
EasyMesh : Fixed normals on disc when one of the radius == 0
EasyPhysics : Added Cone primitive.
13 лет назад
Sam Hocevar
8375f3443d
build: fix the PS3 port by using our trig.h everywhere instead of stdlib
functions; also remove a lot of idiotic "using namespace std" from the
codebase.
13 лет назад
Sam Hocevar
86a16aaff6
easymesh: move the Mesh builder into the engine core.
13 лет назад