File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ int main() {
78
78
projection_matrix (1 , 2 ) = (height - 1 ) / 2.0 ;
79
79
rec.log (
80
80
" world/camera" ,
81
- rerun::Pinhole (rerun::components::PinholeProjection (*( float (*)[ 9 ]) projection_matrix.data ()))
81
+ rerun::Pinhole (rerun::components::PinholeProjection (projection_matrix.data ()))
82
82
.with_resolution (rerun::components::Resolution ({width, height}))
83
83
);
84
84
Eigen::Vector3f camera_position{0.0 , -1.0 , 0.0 };
@@ -92,8 +92,8 @@ int main() {
92
92
rec.log (
93
93
" world/camera" ,
94
94
rerun::Transform3D (
95
- rerun::datatypes::Vec3D (*( float (*)[ 3 ]) camera_position.data ()),
96
- rerun::datatypes::Mat3x3 (*( float (*)[ 9 ]) camera_orientation.data ())
95
+ rerun::datatypes::Vec3D (camera_position.data ()),
96
+ rerun::datatypes::Mat3x3 (camera_orientation.data ())
97
97
)
98
98
);
99
99
You can’t perform that action at this time.
0 commit comments