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

add functions to generate normals, tangents, and bitangents (binormals) #62

Open
2 of 3 tasks
ScanMountGoat opened this issue Jun 15, 2021 · 1 comment
Open
2 of 3 tasks
Labels
enhancement New feature or request ssbh_data High level data access

Comments

@ScanMountGoat
Copy link
Member

ScanMountGoat commented Jun 15, 2021

This will require updating geometry_tools.

  • tangents
  • bitangents
  • normals
@ScanMountGoat ScanMountGoat added enhancement New feature or request ssbh_data High level data access labels Jun 15, 2021
@ScanMountGoat
Copy link
Member Author

ScanMountGoat commented Sep 2, 2021

Potential usage example for ssbh_data (and ssbh_data_py). It might be nice for the function to handle different vector lengths automatically.

let normals: Vec<[f32; 4]> = calculate_normals(&data.positions[0].data, &data.vertex_indices)?;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ssbh_data High level data access
Projects
None yet
Development

No branches or pull requests

1 participant