Home
last modified time | relevance | path

Searched defs:Vec3 (Results 1 – 25 of 75) sorted by relevance

123

/external/flatbuffers/tests/MyGame/Example/
DVec3.cs12 public struct Vec3 : IFlatbufferObject struct
31 …public static Offset<MyGame.Example.Vec3> CreateVec3(FlatBufferBuilder builder, float X, float Y, … in CreateVec3()
60 public static Offset<MyGame.Example.Vec3> Pack(FlatBufferBuilder builder, Vec3T _o) { in Pack()
DVec3.go38 type Vec3 struct { struct
39 _tab flatbuffers.Struct
42 func (rcv *Vec3) Init(buf []byte, i flatbuffers.UOffsetT) {
47 func (rcv *Vec3) Table() flatbuffers.Table {
51 func (rcv *Vec3) X() float32 {
54 func (rcv *Vec3) MutateX(n float32) bool {
58 func (rcv *Vec3) Y() float32 {
61 func (rcv *Vec3) MutateY(n float32) bool {
65 func (rcv *Vec3) Z() float32 {
68 func (rcv *Vec3) MutateZ(n float32) bool {
[all …]
DVec3.kt10 class Vec3 : Struct() { class
/external/flatbuffers/samples/rust_generated/my_game/sample/
Dvec_3_generated.rs15 pub struct Vec3(pub [u8; 12]); struct
16 impl Default for Vec3 { implementation
21 impl core::fmt::Debug for Vec3 { implementation
31 impl flatbuffers::SimpleToVerifyInSlice for Vec3 {} implementation
32 impl flatbuffers::SafeSliceAccess for Vec3 {} implementation
33 impl<'a> flatbuffers::Follow<'a> for Vec3 { implementation
40 impl<'a> flatbuffers::Follow<'a> for &'a Vec3 { implementation
47 impl<'b> flatbuffers::Push for Vec3 { implementation
52 ::core::slice::from_raw_parts(self as *const Vec3 as *const u8, Self::size()) in push() constant
57 impl<'b> flatbuffers::Push for &'b Vec3 { implementation
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dtypes.h93 struct alignas(sizeof(T)) Vec3 { struct
101 Vec3() : Vec3(T(0.0f)) {} in Vec3() argument
104 constexpr Vec3(S x_, S y_, S z_) : x(x_), y(y_), z(z_) {} in Vec3() argument
105 explicit Vec3(T v) : x(v), y(v), z(v) {} in Vec3() argument
108 explicit Vec3(S v) : x(v), y(v), z(v) {} in Vec3() function
110 Vec3(const Vec3& f) : x(f.x), y(f.y), z(f.z) {} in Vec3() argument
113 Vec3(const Vec3<S>& f) : x(f.x), y(f.y), z(f.z) {} in Vec3() function
126 bool operator==(const Vec3& value) const { argument
/external/rust/crates/glam/src/swizzles/
Dvec3_impl.rs5 impl Vec3Swizzles for Vec3 { implementation
83 fn xxx(self) -> Vec3 { in xxx()
92 fn xxy(self) -> Vec3 { in xxy()
101 fn xxz(self) -> Vec3 { in xxz()
110 fn xyx(self) -> Vec3 { in xyx()
119 fn xyy(self) -> Vec3 { in xyy()
128 fn xyz(self) -> Vec3 { in xyz()
137 fn xzx(self) -> Vec3 { in xzx()
146 fn xzy(self) -> Vec3 { in xzy()
155 fn xzz(self) -> Vec3 { in xzz()
[all …]
Dvec2_impl.rs6 type Vec3 = Vec3; typedef
43 fn xxx(self) -> Vec3 { in xxx()
52 fn xxy(self) -> Vec3 { in xxy()
61 fn xyx(self) -> Vec3 { in xyx()
70 fn xyy(self) -> Vec3 { in xyy()
79 fn yxx(self) -> Vec3 { in yxx()
88 fn yxy(self) -> Vec3 { in yxy()
97 fn yyx(self) -> Vec3 { in yyx()
106 fn yyy(self) -> Vec3 { in yyy()
Dvec_traits.rs4 type Vec3; typedef
19 fn xxx(self) -> Self::Vec3; in xxx()
21 fn xxy(self) -> Self::Vec3; in xxy()
23 fn xyx(self) -> Self::Vec3; in xyx()
25 fn xyy(self) -> Self::Vec3; in xyy()
27 fn yxx(self) -> Self::Vec3; in yxx()
29 fn yxy(self) -> Self::Vec3; in yxy()
31 fn yyx(self) -> Self::Vec3; in yyx()
33 fn yyy(self) -> Self::Vec3; in yyy()
314 type Vec3; typedef
[all …]
/external/rust/crates/glam/benches/
Dvec3.rs71 fn vec3_normalize(v: Vec3) -> Vec3 { in vec3_normalize()
83 fn vec3_normalize_or_zero(v: Vec3) -> Vec3 { in vec3_normalize_or_zero()
97 fn vec3_any_orthogonal_vector(v: Vec3) -> Vec3 { in vec3_any_orthogonal_vector()
109 fn vec3_any_orthonormal_vector(v: Vec3) -> Vec3 { in vec3_any_orthonormal_vector()
121 fn vec3_any_orthonormal_pair(v: Vec3) -> (Vec3, Vec3) { in vec3_any_orthonormal_pair()
/external/rust/crates/glam/src/f32/
Dvec3.rs16 pub const fn vec3(x: f32, y: f32, z: f32) -> Vec3 { in vec3()
24 pub struct Vec3 { struct
30 impl Vec3 { argument
740 impl Default for Vec3 { implementation
747 impl Div<Vec3> for Vec3 { implementation
759 impl DivAssign<Vec3> for Vec3 { implementation
768 impl Div<f32> for Vec3 { implementation
780 impl DivAssign<f32> for Vec3 { implementation
792 fn div(self, rhs: Vec3) -> Vec3 { in div()
801 impl Mul<Vec3> for Vec3 { implementation
[all …]
Daffine3a.rs136 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
213 pub fn from_scale_rotation_translation(scale: Vec3, rotation: Quat, translation: Vec3) -> Self { in from_scale_rotation_translation()
262 pub fn to_scale_rotation_translation(&self) -> (Vec3, Quat, Vec3) { in to_scale_rotation_translation()
296 pub fn look_to_lh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_lh()
305 pub fn look_to_rh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_rh()
328 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
341 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
348 pub fn transform_point3(&self, rhs: Vec3) -> Vec3 { in transform_point3()
362 pub fn transform_vector3(&self, rhs: Vec3) -> Vec3 { in transform_vector3()
Dmat3.rs15 pub const fn mat3(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Mat3 { in mat3()
83 pub const fn from_cols(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Self { in from_cols()
189 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
353 pub fn col(&self, index: usize) -> Vec3 { in col()
368 pub fn col_mut(&mut self, index: usize) -> &mut Vec3 { in col_mut()
383 pub fn row(&self, index: usize) -> Vec3 { in row()
473 pub fn mul_vec3(&self, rhs: Vec3) -> Vec3 { in mul_vec3()
/external/flatbuffers/tests/monster_test_serialize/my_game/example/
Dvec_3_generated.rs17 pub struct Vec3(pub [u8; 32]); struct
18 impl Default for Vec3 { implementation
23 impl core::fmt::Debug for Vec3 { implementation
36 impl flatbuffers::SimpleToVerifyInSlice for Vec3 {} implementation
37 impl flatbuffers::SafeSliceAccess for Vec3 {} implementation
38 impl<'a> flatbuffers::Follow<'a> for Vec3 { implementation
45 impl<'a> flatbuffers::Follow<'a> for &'a Vec3 { implementation
52 impl<'b> flatbuffers::Push for Vec3 { implementation
57 ::core::slice::from_raw_parts(self as *const Vec3 as *const u8, Self::size()) in push() constant
62 impl<'b> flatbuffers::Push for &'b Vec3 { implementation
[all …]
/external/rust/crates/glam/src/swizzles/scalar/
Dvec4_impl.rs8 type Vec3 = Vec3; typedef
139 fn xxx(self) -> Vec3 { in xxx()
148 fn xxy(self) -> Vec3 { in xxy()
157 fn xxz(self) -> Vec3 { in xxz()
166 fn xxw(self) -> Vec3 { in xxw()
175 fn xyx(self) -> Vec3 { in xyx()
184 fn xyy(self) -> Vec3 { in xyy()
193 fn xyz(self) -> Vec3 { in xyz()
202 fn xyw(self) -> Vec3 { in xyw()
211 fn xzx(self) -> Vec3 { in xzx()
[all …]
/external/rust/crates/glam/src/swizzles/sse2/
Dvec4_impl.rs15 type Vec3 = Vec3; typedef
146 fn xxx(self) -> Vec3 { in xxx()
155 fn xxy(self) -> Vec3 { in xxy()
164 fn xxz(self) -> Vec3 { in xxz()
173 fn xxw(self) -> Vec3 { in xxw()
182 fn xyx(self) -> Vec3 { in xyx()
191 fn xyy(self) -> Vec3 { in xyy()
200 fn xyz(self) -> Vec3 { in xyz()
209 fn xyw(self) -> Vec3 { in xyw()
218 fn xzx(self) -> Vec3 { in xzx()
[all …]
/external/rust/crates/glam/src/swizzles/wasm32/
Dvec4_impl.rs12 type Vec3 = Vec3; typedef
143 fn xxx(self) -> Vec3 { in xxx()
152 fn xxy(self) -> Vec3 { in xxy()
161 fn xxz(self) -> Vec3 { in xxz()
170 fn xxw(self) -> Vec3 { in xxw()
179 fn xyx(self) -> Vec3 { in xyx()
188 fn xyy(self) -> Vec3 { in xyy()
197 fn xyz(self) -> Vec3 { in xyz()
206 fn xyw(self) -> Vec3 { in xyw()
215 fn xzx(self) -> Vec3 { in xzx()
[all …]
/external/rust/crates/glam/src/swizzles/coresimd/
Dvec4_impl.rs12 type Vec3 = Vec3; typedef
143 fn xxx(self) -> Vec3 { in xxx()
152 fn xxy(self) -> Vec3 { in xxy()
161 fn xxz(self) -> Vec3 { in xxz()
170 fn xxw(self) -> Vec3 { in xxw()
179 fn xyx(self) -> Vec3 { in xyx()
188 fn xyy(self) -> Vec3 { in xyy()
197 fn xyz(self) -> Vec3 { in xyz()
206 fn xyw(self) -> Vec3 { in xyw()
215 fn xzx(self) -> Vec3 { in xzx()
[all …]
/external/flatbuffers/tests/monster_test/my_game/example/
Dvec_3_generated.rs15 pub struct Vec3(pub [u8; 32]); struct
16 impl Default for Vec3 { implementation
21 impl core::fmt::Debug for Vec3 { implementation
34 impl flatbuffers::SimpleToVerifyInSlice for Vec3 {} implementation
35 impl flatbuffers::SafeSliceAccess for Vec3 {} implementation
36 impl<'a> flatbuffers::Follow<'a> for Vec3 { implementation
43 impl<'a> flatbuffers::Follow<'a> for &'a Vec3 { implementation
50 impl<'b> flatbuffers::Push for Vec3 { implementation
55 ::core::slice::from_raw_parts(self as *const Vec3 as *const u8, Self::size()) in push() constant
60 impl<'b> flatbuffers::Push for &'b Vec3 { implementation
[all …]
/external/rust/crates/glam/src/
Dderef.rs12 pub struct Vec3<T> { struct
13 pub x: T,
14 pub y: T,
15 pub z: T,
/external/rust/crates/glam/src/f32/scalar/
Dmat4.rs217 pub fn from_scale_rotation_translation(scale: Vec3, rotation: Quat, translation: Vec3) -> Self { in from_scale_rotation_translation()
249 pub fn to_scale_rotation_translation(&self) -> (Vec3, Quat, Vec3) { in to_scale_rotation_translation()
342 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
675 pub fn look_to_lh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_lh()
684 pub fn look_to_rh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_rh()
705 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
718 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
949 pub fn project_point3(&self, rhs: Vec3) -> Vec3 { in project_point3()
971 pub fn transform_point3(&self, rhs: Vec3) -> Vec3 { in transform_point3()
991 pub fn transform_vector3(&self, rhs: Vec3) -> Vec3 { in transform_vector3()
Dquat.rs133 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
182 pub(crate) fn from_rotation_axes(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Self { in from_rotation_axes()
275 pub fn from_rotation_arc(from: Vec3, to: Vec3) -> Self { in from_rotation_arc()
308 pub fn from_rotation_arc_colinear(from: Vec3, to: Vec3) -> Self { in from_rotation_arc_colinear()
356 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle()
374 pub fn to_scaled_axis(self) -> Vec3 { in to_scaled_axis()
393 pub fn xyz(self) -> Vec3 { in xyz()
611 pub fn mul_vec3(self, rhs: Vec3) -> Vec3 { in mul_vec3()
/external/rust/crates/glam/src/f32/coresimd/
Dmat4.rs204 pub fn from_scale_rotation_translation(scale: Vec3, rotation: Quat, translation: Vec3) -> Self { in from_scale_rotation_translation()
236 pub fn to_scale_rotation_translation(&self) -> (Vec3, Quat, Vec3) { in to_scale_rotation_translation()
329 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
896 pub fn look_to_lh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_lh()
905 pub fn look_to_rh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_rh()
926 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
939 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
1170 pub fn project_point3(&self, rhs: Vec3) -> Vec3 { in project_point3()
1192 pub fn transform_point3(&self, rhs: Vec3) -> Vec3 { in transform_point3()
1212 pub fn transform_vector3(&self, rhs: Vec3) -> Vec3 { in transform_vector3()
/external/rust/crates/glam/src/f32/wasm32/
Dmat4.rs204 pub fn from_scale_rotation_translation(scale: Vec3, rotation: Quat, translation: Vec3) -> Self { in from_scale_rotation_translation()
236 pub fn to_scale_rotation_translation(&self) -> (Vec3, Quat, Vec3) { in to_scale_rotation_translation()
329 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
752 pub fn look_to_lh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_lh()
761 pub fn look_to_rh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_rh()
782 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
795 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
1026 pub fn project_point3(&self, rhs: Vec3) -> Vec3 { in project_point3()
1048 pub fn transform_point3(&self, rhs: Vec3) -> Vec3 { in transform_point3()
1068 pub fn transform_vector3(&self, rhs: Vec3) -> Vec3 { in transform_vector3()
Dquat.rs123 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
172 pub(crate) fn from_rotation_axes(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Self { in from_rotation_axes()
265 pub fn from_rotation_arc(from: Vec3, to: Vec3) -> Self { in from_rotation_arc()
298 pub fn from_rotation_arc_colinear(from: Vec3, to: Vec3) -> Self { in from_rotation_arc_colinear()
346 pub fn to_axis_angle(self) -> (Vec3, f32) { in to_axis_angle()
364 pub fn to_scaled_axis(self) -> Vec3 { in to_scaled_axis()
383 pub fn xyz(self) -> Vec3 { in xyz()
620 pub fn mul_vec3(self, rhs: Vec3) -> Vec3 { in mul_vec3()
/external/rust/crates/glam/src/f32/sse2/
Dmat4.rs207 pub fn from_scale_rotation_translation(scale: Vec3, rotation: Quat, translation: Vec3) -> Self { in from_scale_rotation_translation()
239 pub fn to_scale_rotation_translation(&self) -> (Vec3, Quat, Vec3) { in to_scale_rotation_translation()
332 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle()
761 pub fn look_to_lh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_lh()
770 pub fn look_to_rh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_rh()
791 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh()
804 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh()
1035 pub fn project_point3(&self, rhs: Vec3) -> Vec3 { in project_point3()
1057 pub fn transform_point3(&self, rhs: Vec3) -> Vec3 { in transform_point3()
1077 pub fn transform_vector3(&self, rhs: Vec3) -> Vec3 { in transform_vector3()

123