Sam Hocevar
38733fade7
math: move the matrix-to-quaternion code to a global header.
This lets us use the code for non-float variable types. I also got
rid of the mat4-to-quat code so that users are forced to use the
mat3-to-quat code and possibly discover places where their code is
suboptimal.
il y a 9 ans
Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
il y a 9 ans
Benjamin ‘Touky’ Huet
0e09074d33
Revamped Game/Draw groups to split stuff and help spreading tick
il y a 10 ans
Benjamin ‘Touky’ Huet
a89dac5c30
Fixed some stuff and added some small tweaks
il y a 10 ans
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
il y a 10 ans
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
il y a 10 ans
Sam Hocevar
da6b3d5cd0
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
il y a 10 ans
Sam Hocevar
8443733a08
math: add GLSL-inherited degrees() and radians() conversion functions.
il y a 11 ans
Benjamin ‘Touky’ Huet
725919089e
small camera fix
il y a 11 ans
Sam Hocevar
b91c177125
camera: const correctness for all getters.
il y a 11 ans
Sam Hocevar
5f3ad5cc15
math: add constant vectors vec2::zero, vec2::axis_x, etc.
il y a 11 ans
Benjamin ‘Touky’ Huet
60b7f05572
Camera : Fixed CTor
il y a 11 ans
Benjamin ‘Touky’ Huet
0a7dc44a67
Added MessageService : Basic & Naive Message logging.
Camera & vector.cpp : Fixed shifted_perspective crash with almost zero FOV.
il y a 11 ans
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
il y a 11 ans
Sam Hocevar
6adf553806
math: implement vec3::toeuler_* for Tait-Bryan angles.
il y a 11 ans
Benjamin ‘Touky’ Huet
afefed080b
Camera : Added useage tweak.
il y a 11 ans
Lolbot
16cbaaa1a3
fixed 3 files out of 2793:
- removed 58 CR characters
- removed 8 trailing whitespaces
- replaced 2 tabs with spaces
- fixed 1 svn:eol-style properties
il y a 11 ans
Benjamin ‘Touky’ Huet
3778159bdc
added camera unit test.
il y a 11 ans
Benjamin ‘Touky’ Huet
876f62228c
btphystest : added new camera functions. Added funny camera stuff for cat simulation.
il y a 11 ans
Sam Hocevar
16a620d537
scene: start refactoring the camera code; we now have a stack of cameras
in the scene where we can push and pop cameras.
il y a 12 ans
Benjamin ‘Touky’ Huet
7a051f9455
Added MeshViewer new project, its goal being to have a program capable of previewing a mesh from an outer source (.txt, js, etc ...) in order to speed up mesh creation.
Added RadialJitter("rj") to EasyMesh parser.
il y a 12 ans
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
il y a 12 ans
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
il y a 12 ans
jeunathe
4b041ec074
moved endif (toukinade)
il y a 12 ans
Sam Hocevar
bf62a18bab
camera: deactivate WASD code for camera movement.
il y a 12 ans
Benjamin ‘Touky’ Huet
e8d2d8c202
So Character Controller works with a lazy camera logic.
il y a 12 ans
Sam Hocevar
c51b7c14c9
orbital: some improvements to the mesh parser and error reporting.
il y a 12 ans
Benjamin ‘Touky’ Huet
a031bad19c
Added some convenient functions in camera.
il y a 12 ans
Sam Hocevar
440e86eb68
orbital: use both thumb sticks to pilot ships.
il y a 12 ans
Sam Hocevar
2723dabfac
orbital: play with the camera.
il y a 12 ans
Sam Hocevar
da6062de06
core: add methods to set the camera's view matrix.
il y a 13 ans
Sam Hocevar
4934e9dbee
orbital: move ship with arrows.
il y a 13 ans
Sam Hocevar
45bab95127
input: do not let the joystick override the keyboard.
il y a 13 ans
Sam Hocevar
58b3c20b86
input: add core joystick support and bind the SDL input to that.
il y a 13 ans
Sam Hocevar
8f7d28c169
orbital: play with the tanks.
il y a 13 ans
Sam Hocevar
bfada5d920
core: move some of the camera view logic from the Video class to the
Scene and Camera classes.
il y a 13 ans
Sam Hocevar
90bfc79b22
core: tick methods now use seconds, like any sane system.
il y a 13 ans
Sam Hocevar
08fc460668
core: move the Camera class from Orbital to the engine core.
il y a 13 ans