Sam Hocevar
103f60d48b
misc: replace NULL with nullptr in most places.
преди 10 години
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 години
Benjamin ‘Touky’ Huet
73f729d2ef
MeshViewer refactor is on good way
Reworked Primitive logic for scene rendering
FileUpdateTester works now .....
преди 10 години
Benjamin ‘Touky’ Huet
3f167f2f1d
ImGui 1.37
MeshViewer first pass
преди 10 години
Benjamin ‘Touky’ Huet
00807670b9
Easymesh test tuto works with lua, but EzMesh seems broken.
преди 10 години
Benjamin ‘Touky’ Huet
8222295f3b
2nd pass on Lua integration.
First pass on EzMesh integration (doesn't work yet)
преди 10 години
Benjamin ‘Touky’ Huet
baae344fc2
lua property get/set added, not as nice as I wished, but working.
преди 10 години
Benjamin ‘Touky’ Huet
73cafd5c31
2nd EasyMesh split pass
преди 10 години
Benjamin ‘Touky’ Huet
f67da65818
First pass of EasyMesh split & refactor
Big FAT pass on windows-warning. It is better now.
преди 10 години
Sam Hocevar
31477c906e
build: remove the LolFx and the EasyMesh compilers for now.
преди 11 години
Benjamin ‘Touky’ Huet
a89dac5c30
Fixed some stuff and added some small tweaks
преди 11 години
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
преди 11 години
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[].
преди 11 години
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
преди 11 години
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
преди 11 години
Sam Hocevar
79ed58f1f0
Merge branch 'master' into scenegraph
преди 11 години
Sam Hocevar
7e769d6c79
base: make the safe enums slightly safer. :-)
преди 11 години
Sam Hocevar
8443733a08
math: add GLSL-inherited degrees() and radians() conversion functions.
преди 11 години
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
преди 12 години
Benjamin ‘Touky’ Huet
2b6b50aa26
EZMesh : Some files splitup
преди 12 години
Benjamin ‘Touky’ Huet
c411be843c
Added Flat debugrendermode
Wireframe is back for normal OGL users
MV : Added timed command execution for future "demo mode"
преди 12 години
Benjamin ‘Touky’ Huet
accce03e6f
small tweaks in EZMesh shader compatibilities
преди 12 години
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
преди 12 години
Benjamin ‘Touky’ Huet
34688578ae
Added Shiny flat lolfx
преди 12 години
Benjamin ‘Touky’ Huet
b608607dba
EZMesh : Added Vertices{Merge|Separate} and PostBuildNormal.
преди 12 години
Benjamin ‘Touky’ Huet
3281169274
Input : Fixed mouse speed calculation in sdl & android.
преди 12 години
Benjamin ‘Touky’ Huet
4f66b4d1f5
EZMesh : Default uniform test, cause emscripten failed AGAIN.
преди 12 години
Benjamin ‘Touky’ Huet
b5bfa29caf
Several build fix
преди 12 години
Sam Hocevar
ed9c9ea274
easymesh: fix vertex lerp function prototypes.
преди 12 години
Benjamin ‘Touky’ Huet
46f0c2d7f0
EZMEsh : Tweaked SetColor syntax - Added QuadWeighting option
преди 12 години
Benjamin ‘Touky’ Huet
6b2044349c
EZMesh : Added CommandStack & subsequent Loop command.
преди 12 години
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
преди 12 години
Benjamin ‘Touky’ Huet
f5de1279b7
EZMesh DefaultShader Setup string tweak (for emscripten)
преди 12 години
Benjamin ‘Touky’ Huet
0f36451c24
EZMesh VDecl setup tweak.
преди 12 години
Benjamin ‘Touky’ Huet
6a9b204a37
comment added
преди 12 години
Benjamin ‘Touky’ Huet
7de466cac4
removed EasyMesh invalid Uniform setup for emscripten correct operating.
преди 12 години
Sam Hocevar
5f3ad5cc15
math: add constant vectors vec2::zero, vec2::axis_x, etc.
преди 12 години
Benjamin ‘Touky’ Huet
7a3c90ef39
EasyMesh : Copy CTor fix.
преди 12 години
Benjamin ‘Touky’ Huet
0e8de199a7
EasyMesh tweaked : New Copy CTor & RenderMesh state.
преди 12 години
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
преди 12 години
Benjamin ‘Touky’ Huet
b38276be63
easymesh : typo
преди 12 години
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
преди 12 години
Benjamin ‘Touky’ Huet
a03c38872d
btPhysTest : Added a new test mode called "CAT_MODE". Try it out at your own risks.
преди 12 години
Sam Hocevar
ad8144f0e8
scene: use a global g_scene object instead of Scene::GetDefault().
преди 12 години
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 години
Benjamin ‘Touky’ Huet
0abe5573e5
easymesh : an ASSERT was not properly setup.
преди 12 години
Sam Hocevar
9819425ba0
math: replace RandF() with a more generic rand() template function
that lets us draw integer random values too.
преди 13 години
Sam Hocevar
1e95b39a62
build: various compilation fixes.
преди 13 години
Benjamin ‘Touky’ Huet
ea603d48e3
easymesh : Vertex attribute name can now be customize. Vertex declaration code simplification, ASSERT is more understandable.
преди 13 години
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
преди 13 години