replicant-frameworks_native/include
Mathias Agopian 595ea77f6b vector and matrix classes for graphics use
- this implements vec2, vec3, vec4, which are float vectors
of size 2, 3 and 4 respectively.

the code allows easy instantiation of vectors of a different
type via the tvec{2|3|4}<T> template classes.

- this also implements mat4 which is a float 4x4 matrix. the
tmat44<T> template class allows easy instantiation of a
4x4 matrix of a different value_type.

The vector types have some minimal support for the
glsl style swizzled access; for instance:

  vec4 u;
  vec3 v = u.xyz;

only .x, .xy, .xyz and their .stpq / .rgba equivalent are
supported.

most operators are supported on both vector and matrices:
arithmetic, unary, compound assignment and comparison
(bit-wise operators NOT supported).

- operations available on vectors include:
dot, length, distance, normalize and cross

- operations available on matrices include:
transpose, inverse, trace

- and a few utilities to create matrices:
ortho, frustum, lookAt

Change-Id: I64add89ae90fa78d3f2f59985b63495575378635
2013-08-26 20:41:13 -07:00
..
android am 9f476fd0: Merge "Add a symbol to represent MNC=0" 2013-07-30 12:28:02 -07:00
batteryservice batteryservice: add battery current now and charge counter data 2013-08-07 18:30:13 +00:00
binder Make Flattenable not virtual 2013-07-30 21:19:13 -07:00
diskusage More changes to fix PDK build: 2012-10-24 12:30:41 -07:00
gui Re-enable frame dropping for non-auto timestamps 2013-08-16 15:15:16 -07:00
input Remove input flinger stubs. (DO NOT MERGE) 2013-08-22 18:40:07 -07:00
media Add ability to test supported content types to MediaDrm 2013-08-21 16:00:06 -07:00
powermanager Power manager now takes calling package name arg. 2013-05-20 16:50:10 -07:00
private libutils clean-up 2013-05-07 18:28:11 -07:00
ui vector and matrix classes for graphics use 2013-08-26 20:41:13 -07:00