Coder Social home page Coder Social logo

dario-loi / staplegl Goto Github PK

View Code? Open in Web Editor NEW
47.0 47.0 1.0 14.16 MB

No-dependency OpenGL support library, which abstracts OpenGL objects

Home Page: https://dario-loi.github.io/staplegl/

License: MIT License

C++ 81.98% CMake 10.54% GLSL 7.48%
cpp20 header-only open-source opengl

staplegl's Introduction

Hi ๐Ÿ‘‹, I'm Dario Loi

A Computer Science & AI student from Rome, Italy


dario-loi

dario-loi


  • ๐Ÿ”ญ Iโ€™m currently working on StapleGL

  • ๐ŸŒฑ Iโ€™m currently learning Robotics

  • ๐Ÿ‘จโ€๐Ÿ’ป All of my projects are available at My Portfolio

  • ๐Ÿ“ I sometimemes write stuff on My Blog!

  • ๐Ÿ’ฌ Ask me about C++, Computer Graphics

  • ๐Ÿ“ซ How to reach me [email protected]


Connect with me:

dario-loi-5182531b1


Languages and Tools:

bash bootstrap c cplusplus css3 docker figma flask git go html5 javascript jekyll linux mysql opencv pandas postgresql python pytorch seaborn sqlite vuejs


dario-loi

ย dario-loi

dario-loi

staplegl's People

Contributors

christianpanov avatar dario-loi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

staplegl's Issues

[BUG] Function definitions inside headers are not `inline`.

Describe the bug
Definitions of member functions inside headers should be marked inline. They're only implicitly inline if they are contained within the class definition body, are templates (not full specializations), or marked constexpr. Applies to member functions of vertex buffer wrappers, framebuffer wrappers, etc. Haven't looked at all the code, but it's probably consistently missing.

To Reproduce
Steps to reproduce the behavior:

  1. Create 2 .cpp files;
  2. Include any header in both;
  3. Compile and link;
  4. See ODR violation.

Expected behavior
*Happy linker noises*

Desktop (please complete the following information):

  • Haven't actually tried this on a machine, but it's an ODR-violation even when I just think about it.

Additional context
Clang-tidy is heavily recommended. Catches this immediately.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.