blob: 799fb38ed7311a3da65cbda43e04fefbcf3bd8a9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright 2022-2023 Gabriel Bjørnager Jensen.
#include <bow/logic.hxx>
bow::Star::Star() noexcept {
this->object_type = ::bow::ObjectType::Star;
this->position.x = 0x0p0;
this->position.y = 0x0p0;
this->position.z = 0x0p0;
this->rotation.x = 0x0p0;
this->rotation.y = 0x0p0;
this->rotation.z = 0x0p0;
this->positional_velocity.x = 0x0p0;
this->positional_velocity.y = 0x0p0;
this->positional_velocity.z = 0x0p0;
this->rotational_velocity.x = 0x0p0;
this->rotational_velocity.y = 0x0p0;
this->rotational_velocity.z = 0x0p0;
this->mass = 0x1p0;
this->type = ::bow::StarType::G;
}
|