Sam Hocevar
|
d0dbbde159
|
core: allow to concatenate arrays, and add unit tests for that.
|
12 年前 |
Sam Hocevar
|
95fccabc7a
|
orbital: create a Player class with joystick support.
|
12 年前 |
Sam Hocevar
|
45bab95127
|
input: do not let the joystick override the keyboard.
|
12 年前 |
Sam Hocevar
|
58b3c20b86
|
input: add core joystick support and bind the SDL input to that.
|
12 年前 |
Sam Hocevar
|
c276dbb1ff
|
math: allow to write 1.f / q to take a quaternion's inverse.
|
12 年前 |
Sam Hocevar
|
d452194326
|
gpu: activate backface culling on OpenGL to remain consistent with
the Direct3D backend.
|
12 年前 |
Sam Hocevar
|
8f7d28c169
|
orbital: play with the tanks.
|
12 年前 |
Sam Hocevar
|
032b7ed47d
|
core: make WorldEntity rotation a quaternion.
|
12 年前 |
Sam Hocevar
|
75021144ae
|
orbital: put the tanks in a separate class.
|
12 年前 |
Sam Hocevar
|
8954a123aa
|
core: add Last() and Pop() methods to the Array class.
|
12 年前 |
Sam Hocevar
|
6467a06e90
|
core: convert some realloc() calls to our nice dynamic Array class.
|
12 年前 |
Sam Hocevar
|
82aaaae62c
|
core: the Array class now properly works with non-POD types.
|
12 年前 |
Benjamin ‘Touky’ Huet
|
38332c5f47
|
Added CommandParser parent class to Mesh to prepare other Parser implementation.
|
12 年前 |
Sam Hocevar
|
0315413285
|
core: rename Array::Append() to Array::Push() for brevity and arbitrary
personal taste.
|
12 年前 |
Sam Hocevar
|
bfada5d920
|
core: move some of the camera view logic from the Video class to the
Scene and Camera classes.
|
12 年前 |
Sam Hocevar
|
64b37d8897
|
gpu: fix a memory leak in the VertexBuffer and IndexBuffer classes.
|
12 年前 |
Sam Hocevar
|
2d34fd8358
|
core: reduce compilation time by about 30% by playing with namespaces
and avoid cluttering the compiler's symbol table.
|
12 年前 |
Sam Hocevar
|
fad3e434cf
|
math: fix a bug in mat3::fromeuler().
|
12 年前 |
Sam Hocevar
|
bbdd59032d
|
test: add matrix determinant and quaternion norm checks in the unit tests.
|
12 年前 |
Sam Hocevar
|
ecda7cd569
|
math: replace mat3::rotate(quat) with an explicit constructor, and add
more unit tests for the quaternion to 3×3 matrix conversion.
|
12 年前 |
Sam Hocevar
|
032b32271b
|
math: fix a bug in the rotation matrix to quaternion conversion, found
with the unit tests.
|
12 年前 |
Sam Hocevar
|
9e9c18d37e
|
test: add several unit tests for rotations with matrices and quaternions.
|
12 年前 |
Sam Hocevar
|
5ff96967a0
|
math: add Quat::transform() to directly apply a quaternion to a vector.
|
12 年前 |
Sam Hocevar
|
90c8a58937
|
build: add gcov files to the Git ignore list.
|
12 年前 |
Sam Hocevar
|
e91c326f57
|
math: add methods to convert from a quaternion to Euler angles and from
Euler angles to a rotation matrix. Also fix quat::rotate() which was not
building the correct quaternion.
|
12 年前 |
Sam Hocevar
|
fceeaf1c74
|
math: add quat::fromeuler static constructor for quaternions.
|
12 年前 |
Sam Hocevar
|
1bc2a7d705
|
build: fix compilation on Windows by undefining the min and max macros
that WinDef.h insists on shoving down our throats.
|
12 年前 |
Sam Hocevar
|
ade0514b15
|
math: add min(), max() and clamp() for half, real and vector types.
|
12 年前 |
Sam Hocevar
|
90bfc79b22
|
core: tick methods now use seconds, like any sane system.
|
12 年前 |
Sam Hocevar
|
fbaf32f1b9
|
core: make timers second-based rather than millisecond-based.
|
12 年前 |
Benjamin ‘Touky’ Huet
|
9c27915507
|
Added GetButtonState() in Input class.
Added Escape button in to quit Orbital.
Added Camera control with some little damping sweetness in Camera logic in main Tick.
First Commit \o/
|
12 年前 |
Sam Hocevar
|
08fc460668
|
core: move the Camera class from Orbital to the engine core.
|
12 年前 |
Sam Hocevar
|
aa1e17d95f
|
build: fix for a fucking batch file limitation that won't let me iterate
through a list of files containing spaces or parens.
|
12 年前 |
Sam Hocevar
|
8325d8889c
|
math: chage quaternion constructor to wxyz order because it matches the
mathematical writing, and add static constructors to create quaternions
from a rotation.
|
12 年前 |
Sam Hocevar
|
cbf13dac65
|
gpu: temporarily enable alpha blending in the vertex buffer code.
|
12 年前 |
Sam Hocevar
|
7b1e9abdc9
|
orbital: create a Camera class where we will hide the complexity.
|
12 年前 |
Sam Hocevar
|
b49ba4ef56
|
core: prefix some member variables with m_ for clarity.
|
12 年前 |
Sam Hocevar
|
dc94fce5ed
|
gpu: activate alpha blending on the Direct3D backend.
|
12 年前 |
Sam Hocevar
|
6cd8c0ece3
|
core: fix a bug in the Array class copy constructor, found thanks to
the unit tests.
|
12 年前 |
Sam Hocevar
|
c9520d2aca
|
test: add unit tests for the Array class.
|
12 年前 |
Sam Hocevar
|
cf85ee132d
|
core: dynamic arrays can now have up to 8 typed members.
|
12 年前 |
Sam Hocevar
|
f23b47a8e2
|
ps3: start fixing the vertex buffer logic in there.
|
12 年前 |
Sam Hocevar
|
50fefd0575
|
build: fix the PS3 cross-build; variable name expansion was causing trouble.
|
12 年前 |
Sam Hocevar
|
e1070c3b3c
|
debug: do not use std::abort() on the PS3.
|
12 年前 |
Sam Hocevar
|
28b3a4f639
|
gpu: implement a few CG calls.
|
12 年前 |
Sam Hocevar
|
b69717197e
|
ps3: disable -Wsign-compare on the PS3, because it's really too verbose with
old GCC versions.
|
12 年前 |
Sam Hocevar
|
0081d04eb7
|
orbital: first try at a particle system.
|
12 年前 |
Sam Hocevar
|
9f7993d21c
|
core: add copy constructor and assignment operator to Array.
|
12 年前 |
Sam Hocevar
|
bed2d554c1
|
math: new mat3::scale() and mat4::scale() methods.
|
12 年前 |
Sam Hocevar
|
3e3b254423
|
math: implement rotate() for mat3 in addition to mat4.
|
12 年前 |