Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add plane-node for v5 #5189

Merged
merged 5 commits into from
Dec 4, 2023
Merged

feat: add plane-node for v5 #5189

merged 5 commits into from
Dec 4, 2023

Conversation

GemT27
Copy link
Contributor

@GemT27 GemT27 commented Nov 27, 2023

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Description of change

feat: 新增plane平面节点
feat: 添加demo案例

screenity.webm

@Aarebecca
Copy link
Contributor

有变更的 API 麻烦更新下对应的文档呢,位于 packages/site/docs/apis/shape/PlaneGeometryProps.zh/en.md

@@ -104,7 +106,7 @@ export const createShape3D = (
]);
break;
case 'plane':
shape.scale([style.width / GEOMETRY_SIZE, style.depth / GEOMETRY_SIZE]);
shape.scale(style.width / GEOMETRY_SIZE, style.depth / GEOMETRY_SIZE);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scale(scaling: vec3 | vec2 | number, y?: number, z?: number): this; scale 第二个参数是 y 值,确认下是否正确呢

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改好啦

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改好啦

如果有参加 IssueHunt 计划,请将相关的 Issue 回复到下面哦~

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌🏻

@GemT27
Copy link
Contributor Author

GemT27 commented Dec 1, 2023

#5094 添加三层拓扑-demo案例

@Aarebecca Aarebecca merged commit 91844fd into antvis:v5 Dec 4, 2023
1 check passed
@Aarebecca Aarebecca added this to the [2023/12]Issue Hunt milestone Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants