aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-12 04:22:11 -0800
committerChris Robinson <[email protected]>2018-12-12 04:22:11 -0800
commit5a283c66eef69f5fd573d55f2411703968355eac (patch)
tree3bf5420d895ba6fc26f21cd7808a53332a2f2c44 /Alc/alc.cpp
parent19c5c41c704d121b126b3b496278970bdd35c512 (diff)
Use proper classes for Vector and Matrix types
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r--Alc/alc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp
index 424a0eaa..3ccf545a 100644
--- a/Alc/alc.cpp
+++ b/Alc/alc.cpp
@@ -2425,8 +2425,8 @@ static ALvoid InitContext(ALCcontext *Context)
Context->ExtensionList = alExtList;
- listener.Params.Matrix = aluMatrixf::Identity;
- aluVectorSet(&listener.Params.Velocity, 0.0f, 0.0f, 0.0f, 0.0f);
+ listener.Params.Matrix = alu::Matrix::Identity();
+ listener.Params.Velocity = alu::Vector{};
listener.Params.Gain = listener.Gain;
listener.Params.MetersPerUnit = Context->MetersPerUnit;
listener.Params.DopplerFactor = Context->DopplerFactor;