mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix tuple construction, darkroom rgb & vector3d construction
This commit is contained in:
parent
c78e1d0e6d
commit
2e8b85e90c
53 changed files with 262 additions and 196 deletions
|
@ -42,9 +42,15 @@ namespace sprout {
|
|||
}
|
||||
|
||||
//
|
||||
// vector3d_t
|
||||
// vector3d
|
||||
//
|
||||
typedef sprout::tuples::tuple<double, double, double> vector3d;
|
||||
typedef sprout::tuples::tuple<double, double, double> vector3d_t;
|
||||
|
||||
inline SPROUT_CONSTEXPR sprout::darkroom::coords::vector3d_t
|
||||
vector3d(double x = 0, double y = 0, double z = 0) {
|
||||
return sprout::darkroom::coords::vector3d_t(x, y, z);
|
||||
}
|
||||
|
||||
//
|
||||
// length_sq
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue