UdonLibrary
1.0.0
機械システム研究部 C++ ライブラリ
読み取り中…
検索中…
一致する文字列を見つけられません
Vector3D.hpp
[詳解]
1
//
2
// 三次元ベクトル
3
//
4
// Copyright (c) 2022 udonrobo
5
//
6
7
#pragma once
8
9
#include "
Forward/Vector2D.hpp
"
10
#include "
Forward/Vector3D.hpp
"
11
12
inline
Udon::Vec2
Udon::Vec3::xy
() const noexcept
13
{
14
return
{
x
,
y
};
15
}
16
17
18
namespace
Udon
19
{
20
using
Vec3
=
Vec3
;
21
}
Vector2D.hpp
Vector3D.hpp
Udon
Definition
Bit.hpp:12
Udon::Vec2
二次元ベクトル
Definition
Vector2D.hpp:22
Udon::Vec3
三次元ベクトル
Definition
Vector3D.hpp:20
Udon::Vec3::x
ValueType x
X成分
Definition
Vector3D.hpp:26
Udon::Vec3::y
ValueType y
Y成分
Definition
Vector3D.hpp:29
Udon::Vec3::xy
Udon::Vec2 xy() const noexcept
Definition
Vector3D.hpp:12