From 8a8a6c2b76180a3c65d11467c79270bfcc75bb25 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Thu, 17 Aug 2017 19:53:21 +0200 Subject: [PATCH] Updated API doc --- doc/api/a00001.html | 4 +- doc/api/a00002.html | 4 +- doc/api/a00003.html | 4 +- doc/api/a00003_source.html | 50 +- doc/api/a00004.html | 4 +- doc/api/a00004_source.html | 1066 +-- doc/api/a00005.html | 4 +- doc/api/a00005_source.html | 24 +- doc/api/a00006.html | 4 +- doc/api/a00006_source.html | 122 +- doc/api/a00007.html | 162 +- doc/api/a00007_source.html | 300 +- doc/api/a00008.html | 54 +- doc/api/a00008_source.html | 40 +- doc/api/a00009.html | 132 +- doc/api/a00009_source.html | 136 +- doc/api/a00010.html | 24 +- doc/api/a00010_source.html | 26 +- doc/api/a00011.html | 48 +- doc/api/a00011_source.html | 28 +- doc/api/a00012.html | 42 +- doc/api/a00012_source.html | 24 +- doc/api/a00013.html | 50 +- doc/api/a00013_source.html | 44 +- doc/api/a00014.html | 38 +- doc/api/a00014_source.html | 38 +- doc/api/a00015.html | 171 +- doc/api/a00015_source.html | 184 +- doc/api/a00016.html | 18 +- doc/api/a00016_source.html | 14 +- doc/api/a00017.html | 290 +- doc/api/a00017_source.html | 282 +- doc/api/a00018.html | 38 +- doc/api/a00018_source.html | 32 +- doc/api/a00019_source.html | 8 +- doc/api/a00020.html | 122 +- doc/api/a00020_source.html | 120 +- doc/api/a00021.html | 122 +- doc/api/a00021_source.html | 210 +- doc/api/a00022.html | 32 +- doc/api/a00022_source.html | 22 +- doc/api/a00023.html | 82 +- doc/api/a00023_source.html | 130 +- doc/api/a00024.html | 39 +- doc/api/a00024_source.html | 54 +- doc/api/a00025.html | 4 +- doc/api/a00025_source.html | 298 +- doc/api/a00026.html | 10 +- doc/api/a00026_source.html | 12 +- doc/api/a00027.html | 54 +- doc/api/a00027_source.html | 116 +- doc/api/a00028.html | 16 +- doc/api/a00028_source.html | 18 +- doc/api/a00029.html | 78 +- doc/api/a00029_source.html | 50 +- doc/api/a00030.html | 58 +- doc/api/a00030_source.html | 40 +- doc/api/a00031.html | 38 +- doc/api/a00031_source.html | 36 +- doc/api/a00032.html | 184 +- doc/api/a00032_source.html | 215 +- doc/api/a00033.html | 1407 ++- doc/api/a00033_source.html | 1701 +++- doc/api/a00034.html | 76 +- doc/api/a00034_source.html | 108 +- doc/api/a00035.html | 71 +- doc/api/a00035_source.html | 153 +- doc/api/a00036.html | 44 +- doc/api/a00036_source.html | 145 +- doc/api/a00037.html | 60 +- doc/api/a00037_source.html | 92 +- doc/api/a00038.html | 80 +- doc/api/a00038_source.html | 202 +- doc/api/a00039.html | 76 +- doc/api/a00039_source.html | 97 +- doc/api/a00040.html | 59 +- doc/api/a00040_source.html | 84 +- doc/api/a00041.html | 1429 +-- doc/api/a00041_source.html | 1743 +--- doc/api/a00042.html | 45 +- doc/api/a00042_source.html | 81 +- doc/api/a00043.html | 18 +- doc/api/a00043_source.html | 242 +- doc/api/a00044.html | 30 +- doc/api/a00044_source.html | 64 +- doc/api/a00045.html | 122 - doc/api/a00045_source.html | 2455 ++++- doc/api/a00046.html | 13 +- doc/api/a00046_source.html | 164 +- doc/api/a00047.html | 45 +- doc/api/a00047_source.html | 69 +- doc/api/a00048.html | 54 +- doc/api/a00048_source.html | 77 +- doc/api/a00049.html | 10 +- doc/api/a00049_source.html | 26 +- doc/api/a00050.html | 45 +- doc/api/a00050_source.html | 104 +- doc/api/a00051.html | 18 +- doc/api/a00051_source.html | 207 +- doc/api/a00052.html | 27 +- doc/api/a00052_source.html | 59 +- doc/api/{a00137.html => a00053.html} | 12 +- doc/api/a00053_source.html | 2444 +---- doc/api/a00054.html | 10 +- doc/api/a00054_source.html | 40 +- doc/api/a00055.html | 37 +- doc/api/a00055_source.html | 142 +- doc/api/a00056.html | 35 +- doc/api/a00056_source.html | 67 +- doc/api/a00057.html | 29 +- doc/api/a00057_source.html | 57 +- doc/api/a00058.html | 23 +- doc/api/a00058_source.html | 70 +- doc/api/a00059.html | 35 +- doc/api/a00059_source.html | 69 +- doc/api/a00060.html | 307 +- doc/api/a00060_source.html | 404 +- doc/api/a00061.html | 36 +- doc/api/a00061_source.html | 74 +- doc/api/a00062.html | 27 +- doc/api/a00062_source.html | 64 +- doc/api/a00063.html | 69 +- doc/api/a00063_source.html | 99 +- doc/api/a00064.html | 66 +- doc/api/a00064_source.html | 109 +- doc/api/a00065.html | 54 +- doc/api/a00065_source.html | 77 +- doc/api/a00066.html | 130 +- doc/api/a00066_source.html | 266 +- doc/api/a00067.html | 49 +- doc/api/a00067_source.html | 96 +- doc/api/a00068.html | 313 +- doc/api/a00068_source.html | 408 +- doc/api/a00069.html | 43 +- doc/api/a00069_source.html | 90 +- doc/api/a00070.html | 56 +- doc/api/a00070_source.html | 82 +- doc/api/a00071.html | 66 +- doc/api/a00071_source.html | 88 +- doc/api/a00072.html | 58 +- doc/api/a00072_source.html | 95 +- doc/api/a00073.html | 94 +- doc/api/a00073_source.html | 99 +- doc/api/a00074.html | 138 +- doc/api/a00074_source.html | 268 +- doc/api/a00075.html | 43 +- doc/api/a00075_source.html | 79 +- doc/api/a00076.html | 237 +- doc/api/a00076_source.html | 286 +- doc/api/a00077.html | 64 +- doc/api/a00077_source.html | 99 +- doc/api/a00078.html | 148 - doc/api/a00078_source.html | 58 +- doc/api/a00079.html | 22 +- doc/api/a00079_source.html | 48 +- doc/api/a00080.html | 30 +- doc/api/a00080_source.html | 62 +- doc/api/a00081.html | 66 +- doc/api/a00081_source.html | 86 +- doc/api/a00082.html | 44 +- doc/api/a00082_source.html | 103 +- doc/api/a00083.html | 136 +- doc/api/a00083_source.html | 296 +- doc/api/a00084.html | 322 +- doc/api/a00084_source.html | 405 +- doc/api/a00085.html | 49 +- doc/api/a00085_source.html | 57 +- doc/api/{a00136.html => a00086.html} | 15 +- doc/api/a00086_source.html | 84 +- doc/api/a00087.html | 36 +- doc/api/a00087_source.html | 62 +- doc/api/a00088.html | 70 +- doc/api/a00088_source.html | 91 +- doc/api/a00089.html | 28 +- doc/api/a00089_source.html | 59 +- doc/api/a00090.html | 68 +- doc/api/a00090_source.html | 155 +- doc/api/a00091.html | 194 +- doc/api/a00091_source.html | 343 +- doc/api/a00092.html | 111 +- doc/api/a00092_source.html | 230 +- doc/api/a00093.html | 50 +- doc/api/a00093_source.html | 72 +- doc/api/a00094.html | 13 +- doc/api/a00094_source.html | 846 +- doc/api/a00095.html | 42 +- doc/api/a00095_source.html | 63 +- doc/api/a00096.html | 94 +- doc/api/a00096_source.html | 116 +- doc/api/a00097.html | 28 +- doc/api/a00097_source.html | 70 +- doc/api/a00098.html | 74 +- doc/api/a00098_source.html | 128 +- doc/api/a00099.html | 120 +- doc/api/a00099_source.html | 135 +- doc/api/a00100.html | 82 +- doc/api/a00100_source.html | 154 +- doc/api/a00101.html | 660 +- doc/api/a00101_source.html | 606 +- doc/api/a00102.html | 648 +- doc/api/a00102_source.html | 1434 ++- doc/api/a00103.html | 46 +- doc/api/a00103_source.html | 102 +- doc/api/a00104.html | 45 +- doc/api/a00104_source.html | 234 +- doc/api/a00105.html | 27 +- doc/api/a00105_source.html | 57 +- doc/api/a00106.html | 82 +- doc/api/a00106_source.html | 335 +- doc/api/a00107.html | 347 +- doc/api/a00107_source.html | 500 +- doc/api/a00108.html | 12 +- doc/api/a00108_source.html | 194 +- doc/api/a00109.html | 252 +- doc/api/a00109_source.html | 476 +- doc/api/a00110.html | 648 +- doc/api/a00110_source.html | 864 +- doc/api/a00111.html | 31 +- doc/api/a00111_source.html | 220 +- doc/api/a00112.html | 10 +- doc/api/a00112_source.html | 369 +- doc/api/a00113.html | 10 +- doc/api/a00113_source.html | 189 +- doc/api/a00114.html | 61 +- doc/api/a00114_source.html | 447 +- doc/api/a00115.html | 312 +- doc/api/a00115_source.html | 581 +- doc/api/a00116.html | 10 +- doc/api/a00116_source.html | 292 +- doc/api/a00117.html | 15 +- doc/api/a00117_source.html | 792 +- doc/api/a00118.html | 89 +- doc/api/a00118_source.html | 265 +- doc/api/a00119.html | 13 +- doc/api/a00119_source.html | 380 +- doc/api/a00120.html | 196 +- doc/api/a00120_source.html | 555 +- doc/api/a00121.html | 10 +- doc/api/a00121_source.html | 453 +- doc/api/a00122.html | 10 +- doc/api/a00122_source.html | 548 +- doc/api/a00123.html | 10 +- doc/api/a00123_source.html | 568 +- doc/api/a00124.html | 10 +- doc/api/a00124_source.html | 620 +- doc/api/a00125.html | 44 +- doc/api/a00125_source.html | 674 +- doc/api/a00126.html | 139 +- doc/api/a00126_source.html | 175 +- doc/api/a00127.html | 13 +- doc/api/a00127_source.html | 219 +- doc/api/a00128.html | 198 +- doc/api/a00128_source.html | 386 +- doc/api/a00129.html | 12 +- doc/api/a00129_source.html | 309 +- doc/api/a00130.html | 13 +- doc/api/a00130_source.html | 3131 ++++++- doc/api/a00131.html | 35 +- doc/api/a00131_source.html | 438 +- doc/api/a00132.html | 43 +- doc/api/a00132_source.html | 492 +- doc/api/a00133.html | 138 - doc/api/a00133_source.html | 99 +- doc/api/a00134.html | 87 +- doc/api/a00134_source.html | 141 +- doc/api/a00135.html | 107 - doc/api/a00135_source.html | 106 - doc/api/a00136_source.html | 106 - doc/api/a00137_source.html | 106 - doc/api/a00138.html | 108 - doc/api/a00138_source.html | 2866 ------ doc/api/a00139.html | 130 - doc/api/a00139_source.html | 133 - doc/api/a00140.html | 1655 +++- doc/api/a00140_source.html | 146 - doc/api/a00141.html | 304 +- doc/api/a00141_source.html | 106 - doc/api/a00142.html | 372 +- doc/api/a00142_source.html | 136 - doc/api/a00143.html | 136 + doc/api/a00144.html | 889 ++ doc/api/a00145.html | 2995 ++++++ doc/api/{a00238.html => a00146.html} | 10 +- doc/api/a00147.html | 162 + doc/api/a00148.html | 1801 +--- doc/api/a00149.html | 1191 ++- doc/api/a00150.html | 351 +- doc/api/a00151.html | 897 +- doc/api/a00152.html | 261 +- doc/api/a00153.html | 386 +- doc/api/a00154.html | 558 +- doc/api/a00155.html | 2087 ++++- doc/api/a00156.html | 151 +- doc/api/a00157.html | 1798 +++- doc/api/a00158.html | 131 +- doc/api/a00159.html | 1876 +++- doc/api/a00160.html | 3233 ++----- doc/api/a00161.html | 235 +- doc/api/a00162.html | 1265 +-- doc/api/a00163.html | 633 +- doc/api/a00164.html | 1295 +-- doc/api/a00165.html | 3891 +++++++- doc/api/a00166.html | 438 +- doc/api/a00167.html | 257 +- doc/api/a00168.html | 162 +- doc/api/a00169.html | 2644 ++---- doc/api/a00170.html | 247 +- doc/api/a00171.html | 1660 +--- doc/api/a00172.html | 109 +- doc/api/a00173.html | 1931 +--- doc/api/a00174.html | 1010 +-- doc/api/a00175.html | 223 +- doc/api/a00176.html | 696 +- doc/api/a00177.html | 545 +- doc/api/a00178.html | 684 +- doc/api/a00179.html | 3874 +------- doc/api/a00180.html | 422 +- doc/api/a00181.html | 512 +- doc/api/a00182.html | 58 +- doc/api/a00183.html | 1410 +-- doc/api/a00184.html | 252 +- doc/api/a00185.html | 205 +- doc/api/a00186.html | 109 +- doc/api/a00187.html | 168 +- doc/api/a00188.html | 122 +- doc/api/a00189.html | 76 +- doc/api/a00190.html | 594 +- doc/api/a00191.html | 332 +- doc/api/a00192.html | 462 +- doc/api/a00193.html | 513 +- doc/api/a00194.html | 69 +- doc/api/a00195.html | 521 +- doc/api/a00196.html | 117 +- doc/api/a00197.html | 324 +- doc/api/a00198.html | 398 +- doc/api/a00199.html | 228 +- doc/api/a00200.html | 314 +- doc/api/a00201.html | 199 +- doc/api/a00202.html | 22 +- doc/api/a00203.html | 405 +- doc/api/a00204.html | 347 +- doc/api/a00205.html | 86 +- doc/api/a00206.html | 124 +- doc/api/a00207.html | 69 +- doc/api/a00208.html | 81 +- doc/api/a00209.html | 99 +- doc/api/a00210.html | 138 +- doc/api/a00211.html | 373 +- doc/api/a00212.html | 692 +- doc/api/a00213.html | 281 +- doc/api/a00214.html | 203 +- doc/api/a00215.html | 122 +- doc/api/a00216.html | 407 +- doc/api/a00217.html | 57 +- doc/api/a00218.html | 147 +- doc/api/a00219.html | 211 +- doc/api/a00220.html | 73 +- doc/api/a00221.html | 109 +- doc/api/a00222.html | 321 +- doc/api/a00223.html | 7963 +++++++++++++++- doc/api/a00224.html | 50 +- doc/api/a00225.html | 727 +- doc/api/a00226.html | 123 +- doc/api/a00227.html | 224 +- doc/api/a00228.html | 156 +- doc/api/a00229.html | 660 +- doc/api/a00230.html | 208 +- doc/api/a00231.html | 401 +- doc/api/a00232.html | 514 +- doc/api/a00233.html | 354 +- doc/api/a00234.html | 187 - doc/api/a00235.html | 422 - doc/api/a00236.html | 8061 ----------------- doc/api/a00237.html | 95 - doc/api/a00239.html | 207 - doc/api/a00240.html | 318 - doc/api/a00241.html | 194 - .../dir_304be5dfae1339a7705426c0b536faf2.html | 85 +- .../dir_48eca2e6cf73effdec262031e861eeb0.html | 4 +- .../dir_7997edb062bdde9a99cb6835d42b0d9d.html | 75 +- .../dir_da256b9dd32ba43e2eaa8a2832c37f1b.html | 120 +- .../dir_e8f3c1046ba4b357711397765359cd18.html | 209 +- doc/api/files.html | 274 +- doc/api/modules.html | 190 +- doc/api/search/all_1.js | 201 +- doc/api/search/all_10.js | 78 +- doc/api/search/all_11.js | 79 +- doc/api/search/all_12.js | 88 +- doc/api/search/all_13.js | 184 +- doc/api/search/all_14.js | 25 +- doc/api/search/all_15.js | 6 +- doc/api/search/all_16.js | 8 +- doc/api/search/all_17.js | 2 +- doc/api/search/all_2.js | 56 +- doc/api/search/all_3.js | 67 +- doc/api/search/all_4.js | 100 +- doc/api/search/all_5.js | 53 +- doc/api/search/all_6.js | 242 +- doc/api/search/all_7.js | 197 +- doc/api/search/all_8.js | 198 +- doc/api/search/all_9.js | 176 +- doc/api/search/all_a.js | 232 +- doc/api/search/all_b.js | 322 +- doc/api/search/all_c.js | 22 +- doc/api/search/all_d.js | 32 +- doc/api/search/all_e.js | 220 +- doc/api/search/all_f.js | 18 +- doc/api/search/files_10.js | 14 +- doc/api/search/files_11.js | 12 +- doc/api/search/files_12.js | 50 +- doc/api/search/files_13.js | 2 +- doc/api/search/files_14.js | 15 +- doc/api/search/files_15.js | 2 +- doc/api/search/files_6.js | 12 +- doc/api/search/files_7.js | 20 +- doc/api/search/files_8.js | 4 +- doc/api/search/files_9.js | 6 +- doc/api/search/files_a.js | 2 +- doc/api/search/files_b.js | 46 +- doc/api/search/files_c.js | 10 +- doc/api/search/files_d.js | 4 +- doc/api/search/files_e.js | 8 +- doc/api/search/files_f.js | 2 +- doc/api/search/functions_0.js | 54 +- doc/api/search/functions_1.js | 20 +- doc/api/search/functions_10.js | 48 +- doc/api/search/functions_11.js | 34 +- doc/api/search/functions_12.js | 94 +- doc/api/search/functions_13.js | 2 +- doc/api/search/functions_14.js | 2 +- doc/api/search/functions_15.js | 8 +- doc/api/search/functions_16.js | 2 +- doc/api/search/functions_2.js | 64 +- doc/api/search/functions_3.js | 36 +- doc/api/search/functions_4.js | 50 +- doc/api/search/functions_5.js | 78 +- doc/api/search/functions_6.js | 12 +- doc/api/search/functions_7.js | 8 +- doc/api/search/functions_8.js | 54 +- doc/api/search/functions_9.js | 44 +- doc/api/search/functions_a.js | 64 +- doc/api/search/functions_b.js | 12 +- doc/api/search/functions_c.js | 28 +- doc/api/search/functions_d.js | 130 +- doc/api/search/functions_e.js | 14 +- doc/api/search/functions_f.js | 64 +- doc/api/search/groups_0.js | 2 +- doc/api/search/groups_1.js | 3 +- doc/api/search/groups_2.js | 3 +- doc/api/search/groups_3.js | 2 +- doc/api/search/groups_4.js | 165 +- doc/api/search/groups_5.js | 2 +- doc/api/search/groups_6.js | 2 +- doc/api/search/groups_7.js | 2 +- doc/api/search/groups_8.js | 3 +- doc/api/search/groups_9.js | 3 +- doc/api/search/groups_a.html | 26 + doc/api/search/groups_a.js | 4 + doc/api/search/searchdata.js | 4 +- doc/api/search/typedefs_0.js | 145 +- doc/api/search/typedefs_1.js | 36 +- doc/api/search/typedefs_2.js | 64 +- doc/api/search/typedefs_3.js | 150 +- doc/api/search/typedefs_4.js | 186 +- doc/api/search/typedefs_5.js | 114 +- doc/api/search/typedefs_6.js | 186 +- doc/api/search/typedefs_7.js | 210 +- doc/api/search/typedefs_8.js | 81 +- doc/api/search/typedefs_9.js | 10 +- doc/api/search/typedefs_a.js | 53 +- doc/api/search/typedefs_b.js | 47 +- doc/api/search/typedefs_c.js | 4 +- doc/api/search/typedefs_d.html | 26 + doc/api/search/typedefs_d.js | 4 + 474 files changed, 68476 insertions(+), 69444 deletions(-) delete mode 100644 doc/api/a00045.html rename doc/api/{a00137.html => a00053.html} (91%) delete mode 100644 doc/api/a00078.html rename doc/api/{a00136.html => a00086.html} (87%) delete mode 100644 doc/api/a00133.html delete mode 100644 doc/api/a00135.html delete mode 100644 doc/api/a00135_source.html delete mode 100644 doc/api/a00136_source.html delete mode 100644 doc/api/a00137_source.html delete mode 100644 doc/api/a00138.html delete mode 100644 doc/api/a00138_source.html delete mode 100644 doc/api/a00139.html delete mode 100644 doc/api/a00139_source.html delete mode 100644 doc/api/a00140_source.html delete mode 100644 doc/api/a00141_source.html delete mode 100644 doc/api/a00142_source.html create mode 100644 doc/api/a00143.html create mode 100644 doc/api/a00144.html create mode 100644 doc/api/a00145.html rename doc/api/{a00238.html => a00146.html} (86%) create mode 100644 doc/api/a00147.html delete mode 100644 doc/api/a00234.html delete mode 100644 doc/api/a00235.html delete mode 100644 doc/api/a00236.html delete mode 100644 doc/api/a00237.html delete mode 100644 doc/api/a00239.html delete mode 100644 doc/api/a00240.html delete mode 100644 doc/api/a00241.html create mode 100644 doc/api/search/groups_a.html create mode 100644 doc/api/search/groups_a.js create mode 100644 doc/api/search/typedefs_d.html create mode 100644 doc/api/search/typedefs_d.js diff --git a/doc/api/a00001.html b/doc/api/a00001.html index 22cbd301..534ecb9f 100644 --- a/doc/api/a00001.html +++ b/doc/api/a00001.html @@ -88,12 +88,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM Core +

Core features More...

Go to the source code of this file.

Detailed Description

-

GLM Core

+

Core features

Definition in file _features.hpp.

diff --git a/doc/api/a00002.html b/doc/api/a00002.html index 2af4b944..c018ffce 100644 --- a/doc/api/a00002.html +++ b/doc/api/a00002.html @@ -88,12 +88,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM Core +

Core features More...

Go to the source code of this file.

Detailed Description

-

GLM Core

+

Core features

Definition in file _fixes.hpp.

diff --git a/doc/api/a00003.html b/doc/api/a00003.html index 3d9953ef..7b6c3c7e 100644 --- a/doc/api/a00003.html +++ b/doc/api/a00003.html @@ -88,12 +88,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM Core +

Core features More...

Go to the source code of this file.

Detailed Description

-

GLM Core

+

Core features

Definition in file _noise.hpp.

diff --git a/doc/api/a00003_source.html b/doc/api/a00003_source.html index a473499c..38805b8e 100644 --- a/doc/api/a00003_source.html +++ b/doc/api/a00003_source.html @@ -95,85 +95,85 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
8 #include "../vec4.hpp"
9 #include "../common.hpp"
10 
-
11 namespace glm{
+
11 namespace glm{
12 namespace detail
13 {
14  template<typename T>
-
15  GLM_FUNC_QUALIFIER T mod289(T const & x)
+
15  GLM_FUNC_QUALIFIER T mod289(T const& x)
16  {
-
17  return x - floor(x * (static_cast<T>(1.0) / static_cast<T>(289.0))) * static_cast<T>(289.0);
+
17  return x - floor(x * (static_cast<T>(1.0) / static_cast<T>(289.0))) * static_cast<T>(289.0);
18  }
19 
20  template<typename T>
-
21  GLM_FUNC_QUALIFIER T permute(T const & x)
+
21  GLM_FUNC_QUALIFIER T permute(T const& x)
22  {
23  return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
24  }
25 
-
26  template<typename T, qualifier P>
-
27  GLM_FUNC_QUALIFIER vec<2, T, P> permute(vec<2, T, P> const & x)
+
26  template<typename T, qualifier Q>
+
27  GLM_FUNC_QUALIFIER vec<2, T, Q> permute(vec<2, T, Q> const& x)
28  {
29  return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
30  }
31 
-
32  template<typename T, qualifier P>
-
33  GLM_FUNC_QUALIFIER vec<3, T, P> permute(vec<3, T, P> const & x)
+
32  template<typename T, qualifier Q>
+
33  GLM_FUNC_QUALIFIER vec<3, T, Q> permute(vec<3, T, Q> const& x)
34  {
35  return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
36  }
37 
-
38  template<typename T, qualifier P>
-
39  GLM_FUNC_QUALIFIER vec<4, T, P> permute(vec<4, T, P> const & x)
+
38  template<typename T, qualifier Q>
+
39  GLM_FUNC_QUALIFIER vec<4, T, Q> permute(vec<4, T, Q> const& x)
40  {
41  return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
42  }
43 
44  template<typename T>
-
45  GLM_FUNC_QUALIFIER T taylorInvSqrt(T const & r)
+
45  GLM_FUNC_QUALIFIER T taylorInvSqrt(T const& r)
46  {
47  return T(1.79284291400159) - T(0.85373472095314) * r;
48  }
49 
-
50  template<typename T, qualifier P>
-
51  GLM_FUNC_QUALIFIER vec<2, T, P> taylorInvSqrt(vec<2, T, P> const & r)
+
50  template<typename T, qualifier Q>
+
51  GLM_FUNC_QUALIFIER vec<2, T, Q> taylorInvSqrt(vec<2, T, Q> const& r)
52  {
53  return T(1.79284291400159) - T(0.85373472095314) * r;
54  }
55 
-
56  template<typename T, qualifier P>
-
57  GLM_FUNC_QUALIFIER vec<3, T, P> taylorInvSqrt(vec<3, T, P> const & r)
+
56  template<typename T, qualifier Q>
+
57  GLM_FUNC_QUALIFIER vec<3, T, Q> taylorInvSqrt(vec<3, T, Q> const& r)
58  {
59  return T(1.79284291400159) - T(0.85373472095314) * r;
60  }
61 
-
62  template<typename T, qualifier P>
-
63  GLM_FUNC_QUALIFIER vec<4, T, P> taylorInvSqrt(vec<4, T, P> const & r)
+
62  template<typename T, qualifier Q>
+
63  GLM_FUNC_QUALIFIER vec<4, T, Q> taylorInvSqrt(vec<4, T, Q> const& r)
64  {
65  return T(1.79284291400159) - T(0.85373472095314) * r;
66  }
67 
-
68  template<typename T, qualifier P>
-
69  GLM_FUNC_QUALIFIER vec<2, T, P> fade(vec<2, T, P> const & t)
+
68  template<typename T, qualifier Q>
+
69  GLM_FUNC_QUALIFIER vec<2, T, Q> fade(vec<2, T, Q> const& t)
70  {
71  return (t * t * t) * (t * (t * T(6) - T(15)) + T(10));
72  }
73 
-
74  template<typename T, qualifier P>
-
75  GLM_FUNC_QUALIFIER vec<3, T, P> fade(vec<3, T, P> const & t)
+
74  template<typename T, qualifier Q>
+
75  GLM_FUNC_QUALIFIER vec<3, T, Q> fade(vec<3, T, Q> const& t)
76  {
77  return (t * t * t) * (t * (t * T(6) - T(15)) + T(10));
78  }
79 
-
80  template<typename T, qualifier P>
-
81  GLM_FUNC_QUALIFIER vec<4, T, P> fade(vec<4, T, P> const & t)
+
80  template<typename T, qualifier Q>
+
81  GLM_FUNC_QUALIFIER vec<4, T, Q> fade(vec<4, T, Q> const& t)
82  {
83  return (t * t * t) * (t * (t * T(6) - T(15)) + T(10));
84  }
85 }//namespace detail
86 }//namespace glm
87 
-
Definition: _noise.hpp:11
-
GLM_FUNC_DECL vec< L, T, P > floor(vec< L, T, P > const &x)
Returns a value equal to the nearest integer that is less then or equal to x.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL vec< L, T, Q > floor(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer that is less then or equal to x.