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 anni fa
Sam Hocevar
12aaff89e3
base: huge refactor in vector.h; GCC compilation times down by 50%.
10 anni fa
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
10 anni fa
Sam Hocevar
398ee1b4d5
base: use lol::array in most places.
10 anni fa
Sam Hocevar
da6b3d5cd0
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
10 anni fa
Sam Hocevar
79ed58f1f0
Merge branch 'master' into scenegraph
10 anni fa
Sam Hocevar
44dec8612e
core: fix minor Windows and Raspberry compilation issues.
10 anni fa
Sam Hocevar
76740f77bc
math: remove some vector constants that were a bit too specific.
10 anni fa
Benjamin ‘Touky’ Huet
b2bdb1972f
Several name tweaks here and there.
10 anni fa
Benjamin ‘Touky’ Huet
917891e0b0
Build FIX
10 anni fa
Benjamin ‘Touky’ Huet
21d90c7c22
Fixed shit
10 anni fa
Benjamin ‘Touky’ Huet
87aa2dc3e9
shiny*.lolfx : light reflect FIX
11 anni fa
Benjamin ‘Touky’ Huet
066f131852
Light : Added Type SfEnum.
Shiny*.lolfx : fixed Directional light calculation.
MV : Tweak for future camera behaviour encapsulation.
11 anni fa
Benjamin ‘Touky’ Huet
c411be843c
Added Flat debugrendermode
Wireframe is back for normal OGL users
MV : Added timed command execution for future "demo mode"
11 anni fa
Benjamin ‘Touky’ Huet
b608607dba
EZMesh : Added Vertices{Merge|Separate} and PostBuildNormal.
11 anni fa
Benjamin ‘Touky’ Huet
60f09e226f
MV: Added Zoom out.
11 anni fa
Benjamin ‘Touky’ Huet
1cd715e6ef
Mouse support now works in emscripten
11 anni fa
Benjamin ‘Touky’ Huet
47ca78b85e
Meshviewer : web version now creates cookie to store current session.
11 anni fa
Benjamin ‘Touky’ Huet
dfc2a47f7f
Input : mouse focus integration.
11 anni fa
Benjamin ‘Touky’ Huet
bf0a5ffde6
MV : NaCl mouse support
11 anni fa
Benjamin ‘Touky’ Huet
3337671dfa
NaCl : First pass on input re-implementation
MViewer : Small tweak
11 anni fa
Benjamin ‘Touky’ Huet
568acece6e
res tweak for web usage.
11 anni fa
Benjamin ‘Touky’ Huet
b5bfa29caf
Several build fix
11 anni fa
Benjamin ‘Touky’ Huet
f82a996c18
MViewer : Added Light & axis gizmo
11 anni fa
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 anni fa
Benjamin ‘Touky’ Huet
9b04264845
MViewer : Added Stupid light blending
11 anni fa
Benjamin ‘Touky’ Huet
16737ff80c
MViewer tweak
11 anni fa
Benjamin ‘Touky’ Huet
9bedc2092d
Meshviewer FIX + comment rework
entity : Added IsTicked
11 anni fa
Benjamin ‘Touky’ Huet
981ea6bd75
MeshViewer : Scenesetup tweak to be more usable
11 anni fa
Benjamin ‘Touky’ Huet
7cbfeb1699
MV tweak for Emscripten
11 anni fa
Benjamin ‘Touky’ Huet
2de4324de5
MV tweak
11 anni fa
Benjamin ‘Touky’ Huet
ae7e8d7f36
MV : init tweak
11 anni fa
Benjamin ‘Touky’ Huet
5c62149f55
MV : added small test bench.
11 anni fa
Benjamin ‘Touky’ Huet
d3faae71ee
MeshViewer Light tweak.
11 anni fa
Benjamin ‘Touky’ Huet
18869ca359
Added Scene setup logic
11 anni fa
Benjamin ‘Touky’ Huet
efe8a57810
BUILD FIX
11 anni fa
Benjamin ‘Touky’ Huet
1e7d3ee21a
Added SceneSetup and its Parser/Compiler
11 anni fa
Benjamin ‘Touky’ Huet
17109e369f
MessageService : Safe Enum added to ensure good usage.
11 anni fa
Benjamin ‘Touky’ Huet
046a80937c
MeshViewer : Added mouse support
11 anni fa
Benjamin ‘Touky’ Huet
16872731eb
Fixed MViewer emscripten version and also simplified some interaction stuff.
11 anni fa
Benjamin ‘Touky’ Huet
34a59d25d4
MeshViewer cleanup + MessageService tweak for emscripten
11 anni fa
Benjamin ‘Touky’ Huet
a875ea2345
I'm tired.
11 anni fa
Benjamin ‘Touky’ Huet
3fde4eaa8e
MeshViewer : Added Basic shader to "RenderProof" (ahem...) emscripten
11 anni fa
Benjamin ‘Touky’ Huet
653c5fc3fb
meshviewer small tweak.
11 anni fa
Benjamin ‘Touky’ Huet
62ea4bba63
MeshViewer : small tweaks
11 anni fa
Benjamin ‘Touky’ Huet
5595df4f62
MeshViewer : Added Javascript & Html for Web implementation.
11 anni fa
Sam Hocevar
5f3ad5cc15
math: add constant vectors vec2::zero, vec2::axis_x, etc.
11 anni fa
Sam Hocevar
5721afb967
nacl: compilation fix.
11 anni fa
Benjamin ‘Touky’ Huet
794f1a5086
tweak
11 anni fa
Benjamin ‘Touky’ Huet
7d93ea60d7
MeshViewer : Store EasyMeshes as Pointer.
11 anni fa