Merge branch 'master' into node_device_interface_revision_07-23

This commit is contained in:
jpekkila
2019-08-07 07:43:28 +03:00
8 changed files with 91 additions and 39 deletions

View File

@@ -59,17 +59,18 @@ create_rotz(const AcReal radians)
}
#if AC_DOUBLE_PRECISION == 0
/*
// Fast but inaccurate
#define sin __sinf
#define cos __cosf
#define exp __expf
*/
#define sin sinf
#define cos cosf
#define exp expf
#define rsqrt rsqrtf // hardware reciprocal sqrt
#endif // AC_DOUBLE_PRECISION == 0
/*
typedef struct {
int i, j, k;
} int3;*/
/*
* =============================================================================
* Level 0 (Input Assembly Stage)