| 440 | } |
| 441 | |
| 442 | void NPCGlyph::VelSet(xVec3* vel) |
| 443 | { |
| 444 | if (vel != NULL) |
| 445 | { |
| 446 | xVec3Copy(&vel_glyph, vel); |
| 447 | } |
| 448 | else |
| 449 | { |
| 450 | xVec3Copy(&vel_glyph, &g_O3); |
| 451 | } |
| 452 | |
| 453 | if (vel == NULL) |
| 454 | { |
| 455 | flg_glyph &= ~(1 << 2); |
| 456 | } |
| 457 | else if (xVec3Length2(vel) > 0.0f) |
| 458 | { |
| 459 | flg_glyph |= (1 << 2); |
| 460 | } |
| 461 | else |
| 462 | { |
| 463 | flg_glyph &= ~(1 << 2); |
| 464 | } |
| 465 | } |
| 466 | |
| 467 | void NPCGlyph::ScaleSet(xVec3* scale) |
| 468 | { |
nothing calls this directly
no test coverage detected