Skip to content

TocaToca-Studio/tinygl-cpp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# TinyGLCPP - TocaToca - 2024 - Eliezer Solinger

TinyGL 0.4 (c) 1997-2002 Fabrice Bellard.


# TinyGL Refactored
IN PROGRESS

## Overview

This repository contains a refactored version of the TinyGL library, originally written in C and now rewritten in C++ with a more modern and object-oriented approach. The aim of this refactoring is to simplify the code and organize functions into structs, adopting an updated syntax and a modular structure.

## Key Objectives

1. **Simplicity and Clarity:** The code has been rewritten to be easier to understand and maintain. Redundancies have been eliminated, meaningful names have been used for variables and functions, and modern programming practices have been adopted.

2. **Object-Oriented Approach without Inheritance:** Although inspired by object-oriented programming, composition has been favored over inheritance. Functionalities have been grouped into structs, promoting a cohesive and flexible organization of the code.

3. **Preservation of the Original Logic:** While the syntax and structure of the code have been modified, the underlying logic of the TinyGL library has been kept intact. This ensures that users familiar with the original version can easily migrate to this refactored version.

About

TinyGL : a Small, Free and Fast Subset of OpenGL*

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 80.3%
  • C++ 18.4%
  • Makefile 1.2%
  • Shell 0.1%