| 1 |
// Generated from swizzle_impl.rs.tera template. Edit the template, not the generated file. |
| 2 |
|
| 3 |
use crate::{Vec2, Vec3A, Vec3Swizzles, Vec4}; |
| 4 |
|
| 5 |
impl Vec3Swizzles for Vec3A { |
| 6 |
type Vec2 = Vec2; |
| 7 |
|
| 8 |
type Vec4 = Vec4; |
| 9 |
|
| 10 |
#[inline] |
| 11 |
#[must_use] |
| 12 |
fn xx(self) -> Vec2 { |
| 13 |
Vec2 { |
| 14 |
x: self.x, |
| 15 |
y: self.x, |
| 16 |
} |
| 17 |
} |
| 18 |
|
| 19 |
#[inline] |
| 20 |
#[must_use] |
| 21 |
fn xy(self) -> Vec2 { |
| 22 |
Vec2 { |
| 23 |
x: self.x, |
| 24 |
y: self.y, |
| 25 |
} |
| 26 |
} |
| 27 |
|
| 28 |
#[inline] |
| 29 |
#[must_use] |
| 30 |
fn xz(self) -> Vec2 { |
| 31 |
Vec2 { |
| 32 |
x: self.x, |
| 33 |
y: self.z, |
| 34 |
} |
| 35 |
} |
| 36 |
|
| 37 |
#[inline] |
| 38 |
#[must_use] |
| 39 |
fn yx(self) -> Vec2 { |
| 40 |
Vec2 { |
| 41 |
x: self.y, |
| 42 |
y: self.x, |
| 43 |
} |
| 44 |
} |
| 45 |
|
| 46 |
#[inline] |
| 47 |
#[must_use] |
| 48 |
fn yy(self) -> Vec2 { |
| 49 |
Vec2 { |
| 50 |
x: self.y, |
| 51 |
y: self.y, |
| 52 |
} |
| 53 |
} |
| 54 |
|
| 55 |
#[inline] |
| 56 |
#[must_use] |
| 57 |
fn yz(self) -> Vec2 { |
| 58 |
Vec2 { |
| 59 |
x: self.y, |
| 60 |
y: self.z, |
| 61 |
} |
| 62 |
} |
| 63 |
|
| 64 |
#[inline] |
| 65 |
#[must_use] |
| 66 |
fn zx(self) -> Vec2 { |
| 67 |
Vec2 { |
| 68 |
x: self.z, |
| 69 |
y: self.x, |
| 70 |
} |
| 71 |
} |
| 72 |
|
| 73 |
#[inline] |
| 74 |
#[must_use] |
| 75 |
fn zy(self) -> Vec2 { |
| 76 |
Vec2 { |
| 77 |
x: self.z, |
| 78 |
y: self.y, |
| 79 |
} |
| 80 |
} |
| 81 |
|
| 82 |
#[inline] |
| 83 |
#[must_use] |
| 84 |
fn zz(self) -> Vec2 { |
| 85 |
Vec2 { |
| 86 |
x: self.z, |
| 87 |
y: self.z, |
| 88 |
} |
| 89 |
} |
| 90 |
|
| 91 |
#[inline] |
| 92 |
#[must_use] |
| 93 |
fn xxx(self) -> Vec3A { |
| 94 |
Vec3A::new(self.x, self.x, self.x) |
| 95 |
} |
| 96 |
|
| 97 |
#[inline] |
| 98 |
#[must_use] |
| 99 |
fn xxy(self) -> Vec3A { |
| 100 |
Vec3A::new(self.x, self.x, self.y) |
| 101 |
} |
| 102 |
|
| 103 |
#[inline] |
| 104 |
#[must_use] |
| 105 |
fn xxz(self) -> Vec3A { |
| 106 |
Vec3A::new(self.x, self.x, self.z) |
| 107 |
} |
| 108 |
|
| 109 |
#[inline] |
| 110 |
#[must_use] |
| 111 |
fn xyx(self) -> Vec3A { |
| 112 |
Vec3A::new(self.x, self.y, self.x) |
| 113 |
} |
| 114 |
|
| 115 |
#[inline] |
| 116 |
#[must_use] |
| 117 |
fn xyy(self) -> Vec3A { |
| 118 |
Vec3A::new(self.x, self.y, self.y) |
| 119 |
} |
| 120 |
|
| 121 |
#[inline] |
| 122 |
#[must_use] |
| 123 |
fn xzx(self) -> Vec3A { |
| 124 |
Vec3A::new(self.x, self.z, self.x) |
| 125 |
} |
| 126 |
|
| 127 |
#[inline] |
| 128 |
#[must_use] |
| 129 |
fn xzy(self) -> Vec3A { |
| 130 |
Vec3A::new(self.x, self.z, self.y) |
| 131 |
} |
| 132 |
|
| 133 |
#[inline] |
| 134 |
#[must_use] |
| 135 |
fn xzz(self) -> Vec3A { |
| 136 |
Vec3A::new(self.x, self.z, self.z) |
| 137 |
} |
| 138 |
|
| 139 |
#[inline] |
| 140 |
#[must_use] |
| 141 |
fn yxx(self) -> Vec3A { |
| 142 |
Vec3A::new(self.y, self.x, self.x) |
| 143 |
} |
| 144 |
|
| 145 |
#[inline] |
| 146 |
#[must_use] |
| 147 |
fn yxy(self) -> Vec3A { |
| 148 |
Vec3A::new(self.y, self.x, self.y) |
| 149 |
} |
| 150 |
|
| 151 |
#[inline] |
| 152 |
#[must_use] |
| 153 |
fn yxz(self) -> Vec3A { |
| 154 |
Vec3A::new(self.y, self.x, self.z) |
| 155 |
} |
| 156 |
|
| 157 |
#[inline] |
| 158 |
#[must_use] |
| 159 |
fn yyx(self) -> Vec3A { |
| 160 |
Vec3A::new(self.y, self.y, self.x) |
| 161 |
} |
| 162 |
|
| 163 |
#[inline] |
| 164 |
#[must_use] |
| 165 |
fn yyy(self) -> Vec3A { |
| 166 |
Vec3A::new(self.y, self.y, self.y) |
| 167 |
} |
| 168 |
|
| 169 |
#[inline] |
| 170 |
#[must_use] |
| 171 |
fn yyz(self) -> Vec3A { |
| 172 |
Vec3A::new(self.y, self.y, self.z) |
| 173 |
} |
| 174 |
|
| 175 |
#[inline] |
| 176 |
#[must_use] |
| 177 |
fn yzx(self) -> Vec3A { |
| 178 |
Vec3A::new(self.y, self.z, self.x) |
| 179 |
} |
| 180 |
|
| 181 |
#[inline] |
| 182 |
#[must_use] |
| 183 |
fn yzy(self) -> Vec3A { |
| 184 |
Vec3A::new(self.y, self.z, self.y) |
| 185 |
} |
| 186 |
|
| 187 |
#[inline] |
| 188 |
#[must_use] |
| 189 |
fn yzz(self) -> Vec3A { |
| 190 |
Vec3A::new(self.y, self.z, self.z) |
| 191 |
} |
| 192 |
|
| 193 |
#[inline] |
| 194 |
#[must_use] |
| 195 |
fn zxx(self) -> Vec3A { |
| 196 |
Vec3A::new(self.z, self.x, self.x) |
| 197 |
} |
| 198 |
|
| 199 |
#[inline] |
| 200 |
#[must_use] |
| 201 |
fn zxy(self) -> Vec3A { |
| 202 |
Vec3A::new(self.z, self.x, self.y) |
| 203 |
} |
| 204 |
|
| 205 |
#[inline] |
| 206 |
#[must_use] |
| 207 |
fn zxz(self) -> Vec3A { |
| 208 |
Vec3A::new(self.z, self.x, self.z) |
| 209 |
} |
| 210 |
|
| 211 |
#[inline] |
| 212 |
#[must_use] |
| 213 |
fn zyx(self) -> Vec3A { |
| 214 |
Vec3A::new(self.z, self.y, self.x) |
| 215 |
} |
| 216 |
|
| 217 |
#[inline] |
| 218 |
#[must_use] |
| 219 |
fn zyy(self) -> Vec3A { |
| 220 |
Vec3A::new(self.z, self.y, self.y) |
| 221 |
} |
| 222 |
|
| 223 |
#[inline] |
| 224 |
#[must_use] |
| 225 |
fn zyz(self) -> Vec3A { |
| 226 |
Vec3A::new(self.z, self.y, self.z) |
| 227 |
} |
| 228 |
|
| 229 |
#[inline] |
| 230 |
#[must_use] |
| 231 |
fn zzx(self) -> Vec3A { |
| 232 |
Vec3A::new(self.z, self.z, self.x) |
| 233 |
} |
| 234 |
|
| 235 |
#[inline] |
| 236 |
#[must_use] |
| 237 |
fn zzy(self) -> Vec3A { |
| 238 |
Vec3A::new(self.z, self.z, self.y) |
| 239 |
} |
| 240 |
|
| 241 |
#[inline] |
| 242 |
#[must_use] |
| 243 |
fn zzz(self) -> Vec3A { |
| 244 |
Vec3A::new(self.z, self.z, self.z) |
| 245 |
} |
| 246 |
|
| 247 |
#[inline] |
| 248 |
#[must_use] |
| 249 |
fn xxxx(self) -> Vec4 { |
| 250 |
Vec4::new(self.x, self.x, self.x, self.x) |
| 251 |
} |
| 252 |
|
| 253 |
#[inline] |
| 254 |
#[must_use] |
| 255 |
fn xxxy(self) -> Vec4 { |
| 256 |
Vec4::new(self.x, self.x, self.x, self.y) |
| 257 |
} |
| 258 |
|
| 259 |
#[inline] |
| 260 |
#[must_use] |
| 261 |
fn xxxz(self) -> Vec4 { |
| 262 |
Vec4::new(self.x, self.x, self.x, self.z) |
| 263 |
} |
| 264 |
|
| 265 |
#[inline] |
| 266 |
#[must_use] |
| 267 |
fn xxyx(self) -> Vec4 { |
| 268 |
Vec4::new(self.x, self.x, self.y, self.x) |
| 269 |
} |
| 270 |
|
| 271 |
#[inline] |
| 272 |
#[must_use] |
| 273 |
fn xxyy(self) -> Vec4 { |
| 274 |
Vec4::new(self.x, self.x, self.y, self.y) |
| 275 |
} |
| 276 |
|
| 277 |
#[inline] |
| 278 |
#[must_use] |
| 279 |
fn xxyz(self) -> Vec4 { |
| 280 |
Vec4::new(self.x, self.x, self.y, self.z) |
| 281 |
} |
| 282 |
|
| 283 |
#[inline] |
| 284 |
#[must_use] |
| 285 |
fn xxzx(self) -> Vec4 { |
| 286 |
Vec4::new(self.x, self.x, self.z, self.x) |
| 287 |
} |
| 288 |
|
| 289 |
#[inline] |
| 290 |
#[must_use] |
| 291 |
fn xxzy(self) -> Vec4 { |
| 292 |
Vec4::new(self.x, self.x, self.z, self.y) |
| 293 |
} |
| 294 |
|
| 295 |
#[inline] |
| 296 |
#[must_use] |
| 297 |
fn xxzz(self) -> Vec4 { |
| 298 |
Vec4::new(self.x, self.x, self.z, self.z) |
| 299 |
} |
| 300 |
|
| 301 |
#[inline] |
| 302 |
#[must_use] |
| 303 |
fn xyxx(self) -> Vec4 { |
| 304 |
Vec4::new(self.x, self.y, self.x, self.x) |
| 305 |
} |
| 306 |
|
| 307 |
#[inline] |
| 308 |
#[must_use] |
| 309 |
fn xyxy(self) -> Vec4 { |
| 310 |
Vec4::new(self.x, self.y, self.x, self.y) |
| 311 |
} |
| 312 |
|
| 313 |
#[inline] |
| 314 |
#[must_use] |
| 315 |
fn xyxz(self) -> Vec4 { |
| 316 |
Vec4::new(self.x, self.y, self.x, self.z) |
| 317 |
} |
| 318 |
|
| 319 |
#[inline] |
| 320 |
#[must_use] |
| 321 |
fn xyyx(self) -> Vec4 { |
| 322 |
Vec4::new(self.x, self.y, self.y, self.x) |
| 323 |
} |
| 324 |
|
| 325 |
#[inline] |
| 326 |
#[must_use] |
| 327 |
fn xyyy(self) -> Vec4 { |
| 328 |
Vec4::new(self.x, self.y, self.y, self.y) |
| 329 |
} |
| 330 |
|
| 331 |
#[inline] |
| 332 |
#[must_use] |
| 333 |
fn xyyz(self) -> Vec4 { |
| 334 |
Vec4::new(self.x, self.y, self.y, self.z) |
| 335 |
} |
| 336 |
|
| 337 |
#[inline] |
| 338 |
#[must_use] |
| 339 |
fn xyzx(self) -> Vec4 { |
| 340 |
Vec4::new(self.x, self.y, self.z, self.x) |
| 341 |
} |
| 342 |
|
| 343 |
#[inline] |
| 344 |
#[must_use] |
| 345 |
fn xyzy(self) -> Vec4 { |
| 346 |
Vec4::new(self.x, self.y, self.z, self.y) |
| 347 |
} |
| 348 |
|
| 349 |
#[inline] |
| 350 |
#[must_use] |
| 351 |
fn xyzz(self) -> Vec4 { |
| 352 |
Vec4::new(self.x, self.y, self.z, self.z) |
| 353 |
} |
| 354 |
|
| 355 |
#[inline] |
| 356 |
#[must_use] |
| 357 |
fn xzxx(self) -> Vec4 { |
| 358 |
Vec4::new(self.x, self.z, self.x, self.x) |
| 359 |
} |
| 360 |
|
| 361 |
#[inline] |
| 362 |
#[must_use] |
| 363 |
fn xzxy(self) -> Vec4 { |
| 364 |
Vec4::new(self.x, self.z, self.x, self.y) |
| 365 |
} |
| 366 |
|
| 367 |
#[inline] |
| 368 |
#[must_use] |
| 369 |
fn xzxz(self) -> Vec4 { |
| 370 |
Vec4::new(self.x, self.z, self.x, self.z) |
| 371 |
} |
| 372 |
|
| 373 |
#[inline] |
| 374 |
#[must_use] |
| 375 |
fn xzyx(self) -> Vec4 { |
| 376 |
Vec4::new(self.x, self.z, self.y, self.x) |
| 377 |
} |
| 378 |
|
| 379 |
#[inline] |
| 380 |
#[must_use] |
| 381 |
fn xzyy(self) -> Vec4 { |
| 382 |
Vec4::new(self.x, self.z, self.y, self.y) |
| 383 |
} |
| 384 |
|
| 385 |
#[inline] |
| 386 |
#[must_use] |
| 387 |
fn xzyz(self) -> Vec4 { |
| 388 |
Vec4::new(self.x, self.z, self.y, self.z) |
| 389 |
} |
| 390 |
|
| 391 |
#[inline] |
| 392 |
#[must_use] |
| 393 |
fn xzzx(self) -> Vec4 { |
| 394 |
Vec4::new(self.x, self.z, self.z, self.x) |
| 395 |
} |
| 396 |
|
| 397 |
#[inline] |
| 398 |
#[must_use] |
| 399 |
fn xzzy(self) -> Vec4 { |
| 400 |
Vec4::new(self.x, self.z, self.z, self.y) |
| 401 |
} |
| 402 |
|
| 403 |
#[inline] |
| 404 |
#[must_use] |
| 405 |
fn xzzz(self) -> Vec4 { |
| 406 |
Vec4::new(self.x, self.z, self.z, self.z) |
| 407 |
} |
| 408 |
|
| 409 |
#[inline] |
| 410 |
#[must_use] |
| 411 |
fn yxxx(self) -> Vec4 { |
| 412 |
Vec4::new(self.y, self.x, self.x, self.x) |
| 413 |
} |
| 414 |
|
| 415 |
#[inline] |
| 416 |
#[must_use] |
| 417 |
fn yxxy(self) -> Vec4 { |
| 418 |
Vec4::new(self.y, self.x, self.x, self.y) |
| 419 |
} |
| 420 |
|
| 421 |
#[inline] |
| 422 |
#[must_use] |
| 423 |
fn yxxz(self) -> Vec4 { |
| 424 |
Vec4::new(self.y, self.x, self.x, self.z) |
| 425 |
} |
| 426 |
|
| 427 |
#[inline] |
| 428 |
#[must_use] |
| 429 |
fn yxyx(self) -> Vec4 { |
| 430 |
Vec4::new(self.y, self.x, self.y, self.x) |
| 431 |
} |
| 432 |
|
| 433 |
#[inline] |
| 434 |
#[must_use] |
| 435 |
fn yxyy(self) -> Vec4 { |
| 436 |
Vec4::new(self.y, self.x, self.y, self.y) |
| 437 |
} |
| 438 |
|
| 439 |
#[inline] |
| 440 |
#[must_use] |
| 441 |
fn yxyz(self) -> Vec4 { |
| 442 |
Vec4::new(self.y, self.x, self.y, self.z) |
| 443 |
} |
| 444 |
|
| 445 |
#[inline] |
| 446 |
#[must_use] |
| 447 |
fn yxzx(self) -> Vec4 { |
| 448 |
Vec4::new(self.y, self.x, self.z, self.x) |
| 449 |
} |
| 450 |
|
| 451 |
#[inline] |
| 452 |
#[must_use] |
| 453 |
fn yxzy(self) -> Vec4 { |
| 454 |
Vec4::new(self.y, self.x, self.z, self.y) |
| 455 |
} |
| 456 |
|
| 457 |
#[inline] |
| 458 |
#[must_use] |
| 459 |
fn yxzz(self) -> Vec4 { |
| 460 |
Vec4::new(self.y, self.x, self.z, self.z) |
| 461 |
} |
| 462 |
|
| 463 |
#[inline] |
| 464 |
#[must_use] |
| 465 |
fn yyxx(self) -> Vec4 { |
| 466 |
Vec4::new(self.y, self.y, self.x, self.x) |
| 467 |
} |
| 468 |
|
| 469 |
#[inline] |
| 470 |
#[must_use] |
| 471 |
fn yyxy(self) -> Vec4 { |
| 472 |
Vec4::new(self.y, self.y, self.x, self.y) |
| 473 |
} |
| 474 |
|
| 475 |
#[inline] |
| 476 |
#[must_use] |
| 477 |
fn yyxz(self) -> Vec4 { |
| 478 |
Vec4::new(self.y, self.y, self.x, self.z) |
| 479 |
} |
| 480 |
|
| 481 |
#[inline] |
| 482 |
#[must_use] |
| 483 |
fn yyyx(self) -> Vec4 { |
| 484 |
Vec4::new(self.y, self.y, self.y, self.x) |
| 485 |
} |
| 486 |
|
| 487 |
#[inline] |
| 488 |
#[must_use] |
| 489 |
fn yyyy(self) -> Vec4 { |
| 490 |
Vec4::new(self.y, self.y, self.y, self.y) |
| 491 |
} |
| 492 |
|
| 493 |
#[inline] |
| 494 |
#[must_use] |
| 495 |
fn yyyz(self) -> Vec4 { |
| 496 |
Vec4::new(self.y, self.y, self.y, self.z) |
| 497 |
} |
| 498 |
|
| 499 |
#[inline] |
| 500 |
#[must_use] |
| 501 |
fn yyzx(self) -> Vec4 { |
| 502 |
Vec4::new(self.y, self.y, self.z, self.x) |
| 503 |
} |
| 504 |
|
| 505 |
#[inline] |
| 506 |
#[must_use] |
| 507 |
fn yyzy(self) -> Vec4 { |
| 508 |
Vec4::new(self.y, self.y, self.z, self.y) |
| 509 |
} |
| 510 |
|
| 511 |
#[inline] |
| 512 |
#[must_use] |
| 513 |
fn yyzz(self) -> Vec4 { |
| 514 |
Vec4::new(self.y, self.y, self.z, self.z) |
| 515 |
} |
| 516 |
|
| 517 |
#[inline] |
| 518 |
#[must_use] |
| 519 |
fn yzxx(self) -> Vec4 { |
| 520 |
Vec4::new(self.y, self.z, self.x, self.x) |
| 521 |
} |
| 522 |
|
| 523 |
#[inline] |
| 524 |
#[must_use] |
| 525 |
fn yzxy(self) -> Vec4 { |
| 526 |
Vec4::new(self.y, self.z, self.x, self.y) |
| 527 |
} |
| 528 |
|
| 529 |
#[inline] |
| 530 |
#[must_use] |
| 531 |
fn yzxz(self) -> Vec4 { |
| 532 |
Vec4::new(self.y, self.z, self.x, self.z) |
| 533 |
} |
| 534 |
|
| 535 |
#[inline] |
| 536 |
#[must_use] |
| 537 |
fn yzyx(self) -> Vec4 { |
| 538 |
Vec4::new(self.y, self.z, self.y, self.x) |
| 539 |
} |
| 540 |
|
| 541 |
#[inline] |
| 542 |
#[must_use] |
| 543 |
fn yzyy(self) -> Vec4 { |
| 544 |
Vec4::new(self.y, self.z, self.y, self.y) |
| 545 |
} |
| 546 |
|
| 547 |
#[inline] |
| 548 |
#[must_use] |
| 549 |
fn yzyz(self) -> Vec4 { |
| 550 |
Vec4::new(self.y, self.z, self.y, self.z) |
| 551 |
} |
| 552 |
|
| 553 |
#[inline] |
| 554 |
#[must_use] |
| 555 |
fn yzzx(self) -> Vec4 { |
| 556 |
Vec4::new(self.y, self.z, self.z, self.x) |
| 557 |
} |
| 558 |
|
| 559 |
#[inline] |
| 560 |
#[must_use] |
| 561 |
fn yzzy(self) -> Vec4 { |
| 562 |
Vec4::new(self.y, self.z, self.z, self.y) |
| 563 |
} |
| 564 |
|
| 565 |
#[inline] |
| 566 |
#[must_use] |
| 567 |
fn yzzz(self) -> Vec4 { |
| 568 |
Vec4::new(self.y, self.z, self.z, self.z) |
| 569 |
} |
| 570 |
|
| 571 |
#[inline] |
| 572 |
#[must_use] |
| 573 |
fn zxxx(self) -> Vec4 { |
| 574 |
Vec4::new(self.z, self.x, self.x, self.x) |
| 575 |
} |
| 576 |
|
| 577 |
#[inline] |
| 578 |
#[must_use] |
| 579 |
fn zxxy(self) -> Vec4 { |
| 580 |
Vec4::new(self.z, self.x, self.x, self.y) |
| 581 |
} |
| 582 |
|
| 583 |
#[inline] |
| 584 |
#[must_use] |
| 585 |
fn zxxz(self) -> Vec4 { |
| 586 |
Vec4::new(self.z, self.x, self.x, self.z) |
| 587 |
} |
| 588 |
|
| 589 |
#[inline] |
| 590 |
#[must_use] |
| 591 |
fn zxyx(self) -> Vec4 { |
| 592 |
Vec4::new(self.z, self.x, self.y, self.x) |
| 593 |
} |
| 594 |
|
| 595 |
#[inline] |
| 596 |
#[must_use] |
| 597 |
fn zxyy(self) -> Vec4 { |
| 598 |
Vec4::new(self.z, self.x, self.y, self.y) |
| 599 |
} |
| 600 |
|
| 601 |
#[inline] |
| 602 |
#[must_use] |
| 603 |
fn zxyz(self) -> Vec4 { |
| 604 |
Vec4::new(self.z, self.x, self.y, self.z) |
| 605 |
} |
| 606 |
|
| 607 |
#[inline] |
| 608 |
#[must_use] |
| 609 |
fn zxzx(self) -> Vec4 { |
| 610 |
Vec4::new(self.z, self.x, self.z, self.x) |
| 611 |
} |
| 612 |
|
| 613 |
#[inline] |
| 614 |
#[must_use] |
| 615 |
fn zxzy(self) -> Vec4 { |
| 616 |
Vec4::new(self.z, self.x, self.z, self.y) |
| 617 |
} |
| 618 |
|
| 619 |
#[inline] |
| 620 |
#[must_use] |
| 621 |
fn zxzz(self) -> Vec4 { |
| 622 |
Vec4::new(self.z, self.x, self.z, self.z) |
| 623 |
} |
| 624 |
|
| 625 |
#[inline] |
| 626 |
#[must_use] |
| 627 |
fn zyxx(self) -> Vec4 { |
| 628 |
Vec4::new(self.z, self.y, self.x, self.x) |
| 629 |
} |
| 630 |
|
| 631 |
#[inline] |
| 632 |
#[must_use] |
| 633 |
fn zyxy(self) -> Vec4 { |
| 634 |
Vec4::new(self.z, self.y, self.x, self.y) |
| 635 |
} |
| 636 |
|
| 637 |
#[inline] |
| 638 |
#[must_use] |
| 639 |
fn zyxz(self) -> Vec4 { |
| 640 |
Vec4::new(self.z, self.y, self.x, self.z) |
| 641 |
} |
| 642 |
|
| 643 |
#[inline] |
| 644 |
#[must_use] |
| 645 |
fn zyyx(self) -> Vec4 { |
| 646 |
Vec4::new(self.z, self.y, self.y, self.x) |
| 647 |
} |
| 648 |
|
| 649 |
#[inline] |
| 650 |
#[must_use] |
| 651 |
fn zyyy(self) -> Vec4 { |
| 652 |
Vec4::new(self.z, self.y, self.y, self.y) |
| 653 |
} |
| 654 |
|
| 655 |
#[inline] |
| 656 |
#[must_use] |
| 657 |
fn zyyz(self) -> Vec4 { |
| 658 |
Vec4::new(self.z, self.y, self.y, self.z) |
| 659 |
} |
| 660 |
|
| 661 |
#[inline] |
| 662 |
#[must_use] |
| 663 |
fn zyzx(self) -> Vec4 { |
| 664 |
Vec4::new(self.z, self.y, self.z, self.x) |
| 665 |
} |
| 666 |
|
| 667 |
#[inline] |
| 668 |
#[must_use] |
| 669 |
fn zyzy(self) -> Vec4 { |
| 670 |
Vec4::new(self.z, self.y, self.z, self.y) |
| 671 |
} |
| 672 |
|
| 673 |
#[inline] |
| 674 |
#[must_use] |
| 675 |
fn zyzz(self) -> Vec4 { |
| 676 |
Vec4::new(self.z, self.y, self.z, self.z) |
| 677 |
} |
| 678 |
|
| 679 |
#[inline] |
| 680 |
#[must_use] |
| 681 |
fn zzxx(self) -> Vec4 { |
| 682 |
Vec4::new(self.z, self.z, self.x, self.x) |
| 683 |
} |
| 684 |
|
| 685 |
#[inline] |
| 686 |
#[must_use] |
| 687 |
fn zzxy(self) -> Vec4 { |
| 688 |
Vec4::new(self.z, self.z, self.x, self.y) |
| 689 |
} |
| 690 |
|
| 691 |
#[inline] |
| 692 |
#[must_use] |
| 693 |
fn zzxz(self) -> Vec4 { |
| 694 |
Vec4::new(self.z, self.z, self.x, self.z) |
| 695 |
} |
| 696 |
|
| 697 |
#[inline] |
| 698 |
#[must_use] |
| 699 |
fn zzyx(self) -> Vec4 { |
| 700 |
Vec4::new(self.z, self.z, self.y, self.x) |
| 701 |
} |
| 702 |
|
| 703 |
#[inline] |
| 704 |
#[must_use] |
| 705 |
fn zzyy(self) -> Vec4 { |
| 706 |
Vec4::new(self.z, self.z, self.y, self.y) |
| 707 |
} |
| 708 |
|
| 709 |
#[inline] |
| 710 |
#[must_use] |
| 711 |
fn zzyz(self) -> Vec4 { |
| 712 |
Vec4::new(self.z, self.z, self.y, self.z) |
| 713 |
} |
| 714 |
|
| 715 |
#[inline] |
| 716 |
#[must_use] |
| 717 |
fn zzzx(self) -> Vec4 { |
| 718 |
Vec4::new(self.z, self.z, self.z, self.x) |
| 719 |
} |
| 720 |
|
| 721 |
#[inline] |
| 722 |
#[must_use] |
| 723 |
fn zzzy(self) -> Vec4 { |
| 724 |
Vec4::new(self.z, self.z, self.z, self.y) |
| 725 |
} |
| 726 |
|
| 727 |
#[inline] |
| 728 |
#[must_use] |
| 729 |
fn zzzz(self) -> Vec4 { |
| 730 |
Vec4::new(self.z, self.z, self.z, self.z) |
| 731 |
} |
| 732 |
} |