mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
9138712934
Summary: a lot of files were depending on Geometry even though they didn't use Vector, this will help with future modularity Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D41127194 fbshipit-source-id: 024519c638a1f0df3fdbfbdd937eac84b9adee6e
24 lines
410 B
C++
24 lines
410 B
C++
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <react/renderer/graphics/Float.h>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
struct Vector {
|
|
Float x{0};
|
|
Float y{0};
|
|
Float z{0};
|
|
Float w{0};
|
|
};
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|