GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DominikGrabiec/DirectXMathWrapper: Wrapper for DirectX 11 Math Library

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
BoundingBox.cpp
BoundingBox.cpp
 
 
BoundingBox.hpp
BoundingBox.hpp
 
 
BoundingSphere.cpp
BoundingSphere.cpp
 
 
BoundingSphere.hpp
BoundingSphere.hpp
 
 
DirectXMathWrapper.sln
DirectXMathWrapper.sln
 
 
DirectXMathWrapper.vcxproj
DirectXMathWrapper.vcxproj
 
 
DirectXMathWrapper.vcxproj.filters
DirectXMathWrapper.vcxproj.filters
 
 
Frustum.cpp
Frustum.cpp
 
 
Frustum.hpp
Frustum.hpp
 
 
Intersect.cpp
Intersect.cpp
 
 
Intersect.hpp
Intersect.hpp
 
 
Line.cpp
Line.cpp
 
 
Line.hpp
Line.hpp
 
 
Matrix.cpp
Matrix.cpp
 
 
Matrix.hpp
Matrix.hpp
 
 
Plane.cpp
Plane.cpp
 
 
Plane.hpp
Plane.hpp
 
 
Precompiled.cpp
Precompiled.cpp
 
 
Precompiled.hpp
Precompiled.hpp
 
 
Quaternion.cpp
Quaternion.cpp
 
 
Quaternion.hpp
Quaternion.hpp
 
 
README.md
README.md
 
 
Ray.hpp
Ray.hpp
 
 
Types.hpp
Types.hpp
 
 
Vector2.cpp
Vector2.cpp
 
 
Vector2.hpp
Vector2.hpp
 
 
Vector3.cpp
Vector3.cpp
 
 
Vector3.hpp
Vector3.hpp
 
 
Vector4.cpp
Vector4.cpp
 
 
Vector4.hpp
Vector4.hpp
 
 
Windows.hpp
Windows.hpp
 
 

Repository files navigation

XnaMathWrapper

A simple C++ wrapper library for Microsoft's DirectXMath library (included in Windows SDK).

I have created this library as part of my current game and engine project (which I am doing just for fun and experimentation) to wrap the DirectXMath functions (and previously the D3D9X and XNAMath libraries math functions) in a more usable C++ form.

This library is not as efficient as using the DirectXMath functions directly, but it does add a nice level of expressiveness as I believe is shown in the intersection testing code (Intersect.cpp).

The code convention that I have used is pretty simple:

  • 4 tab indentation, keeping the tabs.
  • Use of C++11 code, including the STL where appropriate.
  • UpperCamelCase for classes, and types.
  • under_score for namespaces, functions, and public variables.
  • UPPERCASE for constants.
  • Anything goes for private members.

The code that I have written myself (i.e. not the STL or the DirectXMath library) I declare to be public domain, and hence it receives no warranty of any kind from me. Please enjoy it, learn from it, and improve it if so desired.

About

Wrapper for DirectX 11 Math Library

Resources

Readme
Activity

Stars

2 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.