Benjamin ‘Touky’ Huet
0f36451c24
EZMesh VDecl setup tweak.
11 anos atrás
Benjamin ‘Touky’ Huet
34a59d25d4
MeshViewer cleanup + MessageService tweak for emscripten
11 anos atrás
Benjamin ‘Touky’ Huet
6a9b204a37
comment added
11 anos atrás
Benjamin ‘Touky’ Huet
7de466cac4
removed EasyMesh invalid Uniform setup for emscripten correct operating.
11 anos atrás
Benjamin ‘Touky’ Huet
7c3dab6af9
Fixed an error for Emscripten.
11 anos atrás
Benjamin ‘Touky’ Huet
88e99dc9fd
MesssageService extern function for emscripten communication
11 anos atrás
Sam Hocevar
52d6c23d72
android: update Android input driver.
11 anos atrás
Sam Hocevar
c42e9a37a9
build: tweaks for C++11 support on Android.
11 anos atrás
Sam Hocevar
bfb3b67db1
base: fix template ambiguity in FindValue().
11 anos atrás
Benjamin ‘Touky’ Huet
62ea4bba63
MeshViewer : small tweaks
11 anos atrás
Benjamin ‘Touky’ Huet
15de2a1e56
EasyMesh syntax was dead. Again.
11 anos atrás
Benjamin ‘Touky’ Huet
68855bf2fd
EasyMesh syntax was dead.
11 anos atrás
Benjamin ‘Touky’ Huet
5595df4f62
MeshViewer : Added Javascript & Html for Web implementation.
11 anos atrás
Sam Hocevar
5f3ad5cc15
math: add constant vectors vec2::zero, vec2::axis_x, etc.
11 anos atrás
Sam Hocevar
94be84fce4
build: activate C++11 mode whenever possible.
11 anos atrás
Sam Hocevar
428178bc39
core: remove deprecated WorldEntity member variables.
11 anos atrás
Benjamin ‘Touky’ Huet
60b7f05572
Camera : Fixed CTor
11 anos atrás
Sam Hocevar
a7d169caff
ps3: some compilation fixes.
11 anos atrás
Sam Hocevar
7108f8566d
math: add orthogonal() and orthonormal() for 3-component vectors.
11 anos atrás
Benjamin ‘Touky’ Huet
7a3c90ef39
EasyMesh : Copy CTor fix.
11 anos atrás
Benjamin ‘Touky’ Huet
0e8de199a7
EasyMesh tweaked : New Copy CTor & RenderMesh state.
11 anos atrás
Benlitz
339f05db73
input: binding multiple key/axis to the same controller action
11 anos atrás
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 anos atrás
Benjamin ‘Touky’ Huet
2e3c5e6e94
build FIX
11 anos atrás
Lolbot
e7a384243a
fixed 8 files out of 2631:
- removed 264 CR characters
- removed 5 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 7 svn:eol-style properties
11 anos atrás
Benjamin ‘Touky’ Huet
ddb36a2e91
MessageService build fix
11 anos atrás
Benjamin ‘Touky’ Huet
5cfaf8576a
include fixup
11 anos atrás
Benjamin ‘Touky’ Huet
b0181eafd2
nacl-instance : ::HandleMessage now does a MessageService::Send()
11 anos atrás
Benjamin ‘Touky’ Huet
0a7dc44a67
Added MessageService : Basic & Naive Message logging.
Camera & vector.cpp : Fixed shifted_perspective crash with almost zero FOV.
11 anos atrás
Benjamin ‘Touky’ Huet
78c949b2d5
URO : Added URO parser/scanner etc for custom command setup.
EzMesh : parser/scanner regen (with older bison cause windows).
11 anos atrás
Benjamin ‘Touky’ Huet
d8114e6cfb
String : Added ::replace(char, char, bool), ::ToLower(), ::ToUpper()
Added utils.h : GetRandom(Array<T>) : gets a random element in a template list with weight logic.
T FindValue(char*) : Find the value of a safe enum from the given name (when GetName is implemented)
swap(T&, T&) is now in here too.
11 anos atrás
Benjamin ‘Touky’ Huet
b38276be63
easymesh : typo
11 anos atrás
Sam Hocevar
353d0a4417
math: last pass (hopefully) at the quaternion/euler conversions.
11 anos atrás
Sam Hocevar
d5d73330e8
math: more quaternion to Euler angles fixes, plus unit tests.
11 anos atrás
Sam Hocevar
9ecd579593
math: fix quaternion to euler conversion and add unit tests.
11 anos atrás
Sam Hocevar
9cfe17fd8b
core: fix some minor compiler warnings.
11 anos atrás
Lolbot
4e0a9c93db
fixed 8 files out of 2617:
- removed 0 CR characters
- removed 0 trailing whitespaces
- replaced 88 tabs with spaces
- fixed 3 svn:eol-style properties
11 anos atrás
Benlitz
b07f6aba93
mesh: submesh class working, can be rendered with any compatible shader without caring of attributes
11 anos atrás
Benlitz
c1da4619f7
input: renamed xinput keys to something more human readable (such as A or DPadLeft) and inverted mouse Y axis to match joystick axis (negatives being up)
core: calling InitGame() at the first tick of an entity. InitDraw is still uncalled yet
fixed mrpigeon and orbital accordingly
11 anos atrás
Benjamin ‘Touky’ Huet
04556dea8b
mat4 : removed useless ortho(). Fixed shifted_perspective so it actually works.
numeric : Added SmoothClamp & swap
camera : fixed target&up issues and added screen-scale factor.
touky_demo : correct camera integration & first pass on uro refactor. Also added Makefile to vcproj
11 anos atrás
Benlitz
35c5bce344
orbital: upgraded to the new input system and fixed compilation. NOT WORKING since InputGame() is not currently being called by the engine.
11 anos atrás
Benlitz
eab5c46b1e
input: added a name the controllers, and a static Get() function to easily retrieve a registered controller
11 anos atrás
Benlitz
b3d306d22e
input: added functions to bind keys over axis (not tested)
11 anos atrás
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 anos atrás
Benlitz
d0e70dbeb6
gpu: moved VertexUsage to shader.h and added GetUsage() and GetIndex() to ShaderAttrib
11 anos atrás
Benlitz
d775d7da19
gpu: added a SetStream that takes an array of attributes
11 anos atrás
Benlitz
9b7641df07
input: added a GetAvailableDevices function to retrieve device names.
11 anos atrás
Benlitz
e50f75403a
core: added StartsWith and EndsWith function for strings, and a sign function for numeric types
11 anos atrás
Sam Hocevar
58ec9dd582
math: add lol::sq() square function and simplify quaternion conversions.
11 anos atrás
Sam Hocevar
6adf553806
math: implement vec3::toeuler_* for Tait-Bryan angles.
11 anos atrás