OGRECave/ogre

modernize samples code

Open

#3,175 opened on Jul 27, 2024

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C++ (1,032 forks)auto 404
:compass: Samplesgood first issuehelp needed

Repository metrics

Stars
 (4,617 stars)
PR merge metrics
 (PR metrics pending)

Description

the samples code could be improved by

  • using range based for loops
  • using RGN_DEFAULT instead of DEFAULT_RESOURCE_GROUP_NAME
  • using HBU_CPU_TO_GPU instead of HBU_DYNAMIC_WRITE_ONLY
  • using std::vector or std::unique_ptr instead of raw new & delete

Contributor guide