commonlibsse_ng\re\h/
hkSseMathTypes.rs1use core::arch::x86_64::__m128;
2
3pub type hkQuadReal = __m128;
7
8const _: () = {
10 assert!(core::mem::size_of::<hkQuadReal>() == 0x10);
11};
12
13#[repr(C)]
20#[derive(Clone, Copy)]
21pub struct hkVector4Comparison {
22 pub mask: hkQuadReal,
25}
26
27const _: () = {
29 assert!(core::mem::offset_of!(hkVector4Comparison, mask) == 0x0);
30 assert!(core::mem::size_of::<hkVector4Comparison>() == 0x10);
31};
32
33impl Default for hkVector4Comparison {
34 #[inline]
35 fn default() -> Self {
36 Self {
37 mask: unsafe { core::arch::x86_64::_mm_setzero_ps() }, }
39 }
40}
41
42#[commonlibsse_ng_derive_internal::to_bitflags]
44#[repr(u32)]
45#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
46pub enum Mask {
47 #[default]
48 None = 0,
49
50 X = 1,
51 Y = 2,
52 XY = 3,
53
54 Z = 4,
55 XZ = 5,
56 YZ = 6,
57 XYZ = 7,
58
59 W = 8,
60 XW = 9,
61 YW = 10,
62 XYW = 11,
63
64 ZW = 12,
65 XZW = 13,
66 YZW = 14,
67 XYZW = 15,
68}