Skip to content

Commit

Permalink
Missing feature guards for s.
Browse files Browse the repository at this point in the history
  • Loading branch information
virtualritz committed Apr 2, 2022
1 parent 4f26a3d commit 6341847
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ type HashMap<K, V> = std::collections::HashMap<K, V>;
/// Faces are *triangulated*, a *single index* is generated and *degenerate
/// faces* (points & lines) are *discarded*.
pub const GPU_LOAD_OPTIONS: LoadOptions = LoadOptions {
#[cfg(feature = "merging")]
merge_identical_points: false,
#[cfg(feature = "reordering")]
reorder_data: false,
single_index: true,
triangulate: true,
Expand All @@ -240,7 +242,9 @@ pub const GPU_LOAD_OPTIONS: LoadOptions = LoadOptions {
/// Topology remains unchanged except for *degenerate faces* (points & lines)
/// which are *discarded*.
pub const OFFLINE_RENDERING_LOAD_OPTIONS: LoadOptions = LoadOptions {
#[cfg(feature = "merging")]
merge_identical_points: true,
#[cfg(feature = "reordering")]
reorder_data: true,
single_index: false,
triangulate: false,
Expand Down

0 comments on commit 6341847

Please sign in to comment.