Sam Hocevar
103f60d48b
misc: replace NULL with nullptr in most places.
9 lat temu
Sam Hocevar
03c17fcae4
base: clean up and refactor containers.
The containers no longer force the user to use the ptrdiff_t type for
size information. For convenience, size() now always returns an int,
and the size_s() method offers a way to handle arrays with more than
2 billion elements. Internally, we still use ptrdiff_t, though.
Since so much code had to be changed, I took the opportunity to get
rid of capitalised accessors for classes that are lowercase.
10 lat temu
Benjamin ‘Touky’ Huet
73f729d2ef
MeshViewer refactor is on good way
Reworked Primitive logic for scene rendering
FileUpdateTester works now .....
10 lat temu
Benjamin ‘Touky’ Huet
3f167f2f1d
ImGui 1.37
MeshViewer first pass
10 lat temu
Benjamin ‘Touky’ Huet
00807670b9
Easymesh test tuto works with lua, but EzMesh seems broken.
10 lat temu
Benjamin ‘Touky’ Huet
8222295f3b
2nd pass on Lua integration.
First pass on EzMesh integration (doesn't work yet)
10 lat temu
Benjamin ‘Touky’ Huet
baae344fc2
lua property get/set added, not as nice as I wished, but working.
10 lat temu
Benjamin ‘Touky’ Huet
73cafd5c31
2nd EasyMesh split pass
10 lat temu
Benjamin ‘Touky’ Huet
f67da65818
First pass of EasyMesh split & refactor
Big FAT pass on windows-warning. It is better now.
10 lat temu
Sam Hocevar
31477c906e
build: remove the LolFx and the EasyMesh compilers for now.
10 lat temu
Benjamin ‘Touky’ Huet
a89dac5c30
Fixed some stuff and added some small tweaks
10 lat temu
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
10 lat temu
Sam Hocevar
7a28671dee
math: get rid of the base_vec* classes (thanks to relaxed unions), rename
MASK to SWIZZLE in the vector templates, rename matrix<> to mat<> for
consistency, implement transposition for all matrix sizes, make matrix
columns private and only accessible through operator[].
10 lat temu
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
10 lat temu
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
10 lat temu
Sam Hocevar
79ed58f1f0
Merge branch 'master' into scenegraph
10 lat temu
Sam Hocevar
7e769d6c79
base: make the safe enums slightly safer. :-)
10 lat temu
Sam Hocevar
8443733a08
math: add GLSL-inherited degrees() and radians() conversion functions.
11 lat temu
Lolbot
47b9f0abb0
fixed 69 files out of 2739:
- removed 10 CR characters
- removed 39 trailing whitespaces
- replaced 243 tabs with spaces
- fixed 60 svn:eol-style properties
11 lat temu
Benjamin ‘Touky’ Huet
2b6b50aa26
EZMesh : Some files splitup
11 lat temu
Benjamin ‘Touky’ Huet
c411be843c
Added Flat debugrendermode
Wireframe is back for normal OGL users
MV : Added timed command execution for future "demo mode"
11 lat temu
Benjamin ‘Touky’ Huet
accce03e6f
small tweaks in EZMesh shader compatibilities
11 lat temu
Lolbot
91304801cc
fixed 22 files out of 2667:
- removed 2 CR characters
- removed 9 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 19 svn:eol-style properties
11 lat temu
Benjamin ‘Touky’ Huet
34688578ae
Added Shiny flat lolfx
11 lat temu
Benjamin ‘Touky’ Huet
b608607dba
EZMesh : Added Vertices{Merge|Separate} and PostBuildNormal.
11 lat temu
Benjamin ‘Touky’ Huet
3281169274
Input : Fixed mouse speed calculation in sdl & android.
11 lat temu
Benjamin ‘Touky’ Huet
4f66b4d1f5
EZMesh : Default uniform test, cause emscripten failed AGAIN.
11 lat temu
Benjamin ‘Touky’ Huet
b5bfa29caf
Several build fix
11 lat temu
Sam Hocevar
ed9c9ea274
easymesh: fix vertex lerp function prototypes.
11 lat temu
Benjamin ‘Touky’ Huet
46f0c2d7f0
EZMEsh : Tweaked SetColor syntax - Added QuadWeighting option
11 lat temu
Benjamin ‘Touky’ Huet
6b2044349c
EZMesh : Added CommandStack & subsequent Loop command.
11 lat temu
Benjamin ‘Touky’ Huet
2b4dc175ee
Vector classes : added one (for consistency)
SceneSetup : Added ClearColor command
EZMesh : Added Dup[ ... ] command && cgs command syntax refactor
MViewer : Tweak & dictionnary.js updates
11 lat temu
Benjamin ‘Touky’ Huet
f5de1279b7
EZMesh DefaultShader Setup string tweak (for emscripten)
11 lat temu
Benjamin ‘Touky’ Huet
0f36451c24
EZMesh VDecl setup tweak.
11 lat temu
Benjamin ‘Touky’ Huet
6a9b204a37
comment added
11 lat temu
Benjamin ‘Touky’ Huet
7de466cac4
removed EasyMesh invalid Uniform setup for emscripten correct operating.
11 lat temu
Sam Hocevar
5f3ad5cc15
math: add constant vectors vec2::zero, vec2::axis_x, etc.
11 lat temu
Benjamin ‘Touky’ Huet
7a3c90ef39
EasyMesh : Copy CTor fix.
11 lat temu
Benjamin ‘Touky’ Huet
0e8de199a7
EasyMesh tweaked : New Copy CTor & RenderMesh state.
11 lat temu
Benjamin ‘Touky’ Huet
4b3686a927
MeshViewer TWEAK
EasyMesh Parser/Scanner & Functions revamp to be more like real logical functions.
EZMesh & URO : Added "//" comments to Parser/Scanner
11 lat temu
Benjamin ‘Touky’ Huet
b38276be63
easymesh : typo
11 lat temu
Benlitz
f104674963
gpu: removed attribute name, everything works using semantic only now. For glsl, semantic is determined from the attribute name which must follow this pattern: in_[Semantic][index], index being optional. Note: this may break most of the projects although I tried to updated every shader accordingly
11 lat temu
Benjamin ‘Touky’ Huet
a03c38872d
btPhysTest : Added a new test mode called "CAT_MODE". Try it out at your own risks.
11 lat temu
Sam Hocevar
ad8144f0e8
scene: use a global g_scene object instead of Scene::GetDefault().
11 lat temu
Sam Hocevar
6faf4ee067
base: roll our own constants because it’s always a pain in the ass
to get M_PI from the platform headers and cast it to float.
12 lat temu
Benjamin ‘Touky’ Huet
0abe5573e5
easymesh : an ASSERT was not properly setup.
12 lat temu
Sam Hocevar
9819425ba0
math: replace RandF() with a more generic rand() template function
that lets us draw integer random values too.
12 lat temu
Sam Hocevar
1e95b39a62
build: various compilation fixes.
12 lat temu
Benjamin ‘Touky’ Huet
ea603d48e3
easymesh : Vertex attribute name can now be customize. Vertex declaration code simplification, ASSERT is more understandable.
12 lat temu
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
12 lat temu