Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9276381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:50:17+00:00 2026-06-18T16:50:17+00:00

I am in the process of converting a Web GL application into iOS. The

  • 0

I am in the process of converting a Web GL application into iOS.

The web gl version of the app uses the gl-matrix package (https://github.com/toji/gl-matrix) to perform matrix and vector operations.

I was wondering what the equivalent package would be in iOS?

For instance one of the lines of code in the javascript application uses the line:

return new glMatrixArrayType([x * sin2, y * sin2, z * sin2, Math.cos(a2)]);

In iOS what should I use instead of glMatrixArrayType.

Cheers,
Sam

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T16:50:19+00:00Added an answer on June 18, 2026 at 4:50 pm

    Assuming you mean iOS 5+, the equivalent is GLKit. Prior to that you were on your own as far as the OS was concerned.

    It doesn’t have a 2×2 matrix so the equivalent to that line of code would be (well, probably, unless I’ve got my rows and columns transposed — I don’t know gl-matrix):

    return GLKMatrix3Make(
              x * sin2, y * sin2, 0.0f,
              z*sin2,   cos(a2),  0.0f, 
              0.0f,     0.0f,     1.0f);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am in the process of converting a ASP.Net Web App to a C#
We're in the process of converting web app to IE8 (now client is using
Right now I'm in the process of converting a web application to an MVC
I'm in the process of converting a web application of mine to an MVC
I am in the process of converting a excel work book into a web
I am following the guidelines from http://blogs.msdn.com/b/webdevtools/archive/2009/10/29/converting-a-web-site-project-to-a-web-application-project.aspx Mid way through the process they have
What is the process of converting win32 application (a small popup window actually) to
Im in the process of converting my rails code which developed in version 2
I am in the process of converting a legacy application from proprietary technology to
Has anybody gone through the process of converting a real-world business application from ASP.NET

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.