/simpletypesystem/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk

« back to all changes in this revision

Viewing changes to src/vec.h

  • Committer: Gustav Hartvigsson
  • Date: 2015-09-16 18:28:43 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20150916182843-efc7pe4os71wgxf7
 WOOPS!

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
 * others. IE: `vec3_add (Vec3 *, Vec3_16 *)` is the same as
67
67
 * `vec3_add (Vec3_16 *, Vec3 *)`.
68
68
 */
69
 
#define vec3_add(x, y) _Generic((x)\
 
69
#define vec3_add(x, y) _Generic((x, y)\
70
70
                                 Vec3 *: _Generic((y)\
71
71
                                                 Vec3 *: vec3_add_vec3\
72
72
                                                 Vec3_16 *: vec3_add_vec3_16\