mirror of
https://github.com/hannobraun/Fornjot
synced 2025-11-18 04:50:07 +00:00
Make Vector representation transparent
This commit is contained in:
parent
b1a264af95
commit
410d359e71
@ -14,7 +14,7 @@ use super::{
|
||||
/// The dimensionality of the vector is defined by the const generic `D`
|
||||
/// parameter.
|
||||
#[derive(Clone, Copy, Eq, PartialEq, Hash, Ord, PartialOrd)]
|
||||
#[repr(C)]
|
||||
#[repr(transparent)]
|
||||
pub struct Vector<const D: usize> {
|
||||
/// # The components of the vector
|
||||
pub components: [Scalar; D],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user