blob: 8db89f25d0e0fe74160925e0e041c578d0263d04 (
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::Star::Type::G;
}
|